Regression in 1.13.0 - Scrollbar handle does not show
See original GitHub issueDescribe the bug This is a regression. Works in 1.12.0, does not work in 1.13.0.
I have a container with the following options:
public scrollerOptions: any = {
className: 'os-thin',
paddingAbsolute: true,
overflowBehavior: {
x: 'scroll',
y: 'hidden'
},
scrollbars: {
autoHide: 'move',
autoHideDelay: 500
}
}
In 1.12.0 hovering the mouse over the container would show the scroll handle. Does not show up in 1.13.0.
To Reproduce
- Create Container with horizonzally scrollable content
- Apply above options
- Hover mouse over container
Expected behavior Scrollbar handle should show on hovering the mouse
Environment
- Used Operating System(s): Win 10 Pro x64
- Used Browser(s) (with version): Chrome / Firefox latest
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
::-webkit-scrollbar - CSS: Cascading Style Sheets | MDN
The ::-webkit-scrollbar CSS pseudo-element affects the style of an element's scrollbar when it has overflow:scroll; set.
Read more >Flex UI Release Notes for v1.x.x - Twilio
Resolved an issue where Hosted Flex users were not automatically logged in to Flex UI after providing their Twilio account details. Users can...
Read more >Warehouse theme changelog - Shopify Themes - Maestrooo
Warehouse theme changelog. This page keeps track of all changes that happened in the theme so far. Please note that, per our update...
Read more >Docker Desktop release notes - Docker Documentation
Added search decorations to the terminal's scrollbar so that matches outside the viewport are visible. Fixed an issue with search which doesn't work...
Read more >Changelog - Streamlit Docs
Version 1.15.0. Release date: November 17, 2022. Notable Changes. Widget labels can contain inline Markdown. See ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @KingSora, I am sorry to say this, but the new version (1.13.1) is now breaking my implementation. The scrollbar now shows on top of flyouts that can be opened from inside our scroll container.
Since the
.os-padding
container is wrapping the inner scroll content, I find it dangerous to assign a zero z-index to it because this can break a lot. I bet I am not the only one who faces issues with this update.@Baedda You are the master of your app. You can run in all sorts of z-index discrepancies if you’re running multiple JS frameworks at the same time for example or if two different libraries run different “z-index patterns”. It is not necessarily the framework or the library that needs to fix those issues.
I use the Angular Material Dialog and I have also had some “background elements” overlapping the popup. The fix was easy setting
What I want to say is: if your fly-in gets shoved behind the scrollbar, why don’t you just set the z-index of your fly-in to an appropriate value so it is the top-most again? I think @KingSora can’t provide a generic solution to all z-index issues with his library 😄