Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign: research only showing native scrollbars on hover #7560

Closed
bwindels opened this issue Oct 25, 2018 · 1 comment
Closed

Redesign: research only showing native scrollbars on hover #7560

bwindels opened this issue Oct 25, 2018 · 1 comment
Milestone

Comments

@bwindels
Copy link
Contributor

bwindels commented Oct 25, 2018

Main problem so far has been the chunky scrollbars on windows that are always visible.
Edge actually has -ms-overflow-style: -ms-autohiding-scrollbar; to make them only visible on hover, for Chrome and FF we should be able to make it work with something like:

.scrollable {
  overflow: hidden;
}

.scrollable:hover {
  overflow: auto;
}

We should also detect whether this hack is needed so we don't do it on OSX for example.

Reasons for doing this:

  • with gemini scrollbars we can't size scrollable areas relative to their content (like we want to do for room lists) and need to hack our way around this situation. Would be nicer to let css do the right thing.
  • Lag because of how gemini scrollbars work
  • Less complexity/code/smaller DOM \o/
@bwindels bwindels changed the title Redesign: research hiding native scrollbars Redesign: research only showing native scrollbars on hover Oct 25, 2018
@bwindels
Copy link
Contributor Author

This would be replacing the gemini scrollbars just for the room sub lists, not across the app!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants