manifestinteractive / teleprompter

Browser-based TelePrompter with Remote Control
https://promptr.tv
Other
326 stars 115 forks source link

Fix annoying shift in text that can happen when playing/pausing #27

Closed prust closed 3 years ago

prust commented 3 years ago

When you hit play or pause, the scrollbar appears or disappears. This can cause words to wrap or not wrap, depending on your content, which causes an annoying shift in the text.

This pull request hides the scrollbar (by styling it the same color as the background) instead of removing it, so the text no longer shifts. However, note that if the user customizes the background color, they may notice the black strip along the side (the restyled scrollbar), but it isn't very noticeable and IMO is preferable over text that shifts every time you pause or play.

manifestinteractive commented 3 years ago

I am manually integrating a version of these changes in the next release ( v1.2.0 )