-
Notifications
You must be signed in to change notification settings - Fork 1
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
/explore plots scroll bar in Chrome/FF/Edge causes plot shift shifts #13
Comments
|
So apparently on the Mac scrollbars are overlayed, but on Windows they are displacing content. Maybe |
If we want scrollbars to be consistent in appearance (always visible when necessary and not the overlay crap MacOS does) we can talk offline. I can help with the CSS for that. I use this all the time and it works consistently well across platforms and browsers. It's a nightmare that FF and Chrome does different scroll bar heights or MacOS does the overlay.... |
@pdille the main difficulty in keep this aligned is that the x-axis is NOT scrolled, but the area below it is, and the layout did not take the scrollbar issue into account. Layout looks like so:
The idea is that the axis row is of fixed vertical height, and the scrollable plots fill the rest of the space vertically, and the y-axis and corner elements are fixed with, with x-axis and plots filling the rest of the space horizontally, without any JS involvement. If there is no easy way to align the corner and y-axis elements, maybe the easiest would be to accept the misalignment, but correct the plot ranges, as right now they are misaligned with the date axis. |
Maybe a good ole table with a sticky header would work? |
It looks like the scroll bar in Safari is overlayed on the plot html elements, and does not change layout, but at least Chrome's scroll bar displaces the plots, causing a misalgnment in the date axis and plot areas.
References: https://www.filamentgroup.com/lab/scrollbars/
The text was updated successfully, but these errors were encountered: