For specific browser widths, horizontal scroll bar appears

(Taylor) #1

Just a minor bug here.

Repro Steps:

  • Enter a topic with a few existing replies
  • Hit reply on the first post
  • Scroll down past the last post with the composer open

Additional notes:

  • Can reproduce in desktop Safari, Chrome and Firefox
  • Browser window must be small enough to where the composer is touching the edges of the window
  • It seems to trigger when topic-progress indicator detaches from the composer and docks to the last post

Seems to go away with:

#topic-progress-wrapper.docked {
   right: 1px;


(Jeff Atwood) #2

Make the browser a bit bigger, then? :wink:

(Taylor) #3

:rofl: Unfortunately that would require buying a new computer! On a 13" MacBook Pro, the composer touches the edges of the window at maxed browser size.

Here’s another weird thing that can happen because of it:

With that said, this is a minor thing that the majority of users probably won’t encounter.

Jumping reply box
(Jeff Atwood) #4

Maybe @awesomerobot can take a look at some point.

(Kris) #5

So turns out the topic progress bar was ~2px wider than its container (likely because of the border?), so when at right: 0; and at X/X progress it produced a slight horizontal scroll. The solution was to subtract 2 from the width calculation.

FYI @sam this was the same issue you were seeing.

Reply box shows horizontal scroll bar - sometimes flickers