kh90909 / OakTerm

Serial terminal for the Digistump Oak over the Particle Cloud
8 stars 2 forks source link

Sidebar doesn't scroll when it occupies the full width of the screen (desktop only) #72

Closed kh90909 closed 8 years ago

kh90909 commented 8 years ago

In desktop browsers, when the window is narrow enough that the open sidebar takes up the full width, the sidebar won't scroll. A scrollbar is displayed, but moving it has no effect on the sidebar content. It scrolls the terminal content underneath instead.

With touch scrolling in Chrome's mobile device simulation mode, sidebar scrolling works.

kh90909 commented 8 years ago

Note that this only happens when dragging the scrollbar. Scrolling using the scroll wheel works.

kh90909 commented 8 years ago

It turned out that the scrollbar was there, but the right edge of the sidebar was offscreen. The width was set to 100%, but the left edge was indented for some reason. Setting left: 0 in the css fixed the issue.