question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Regression in 1.13.0 - Scrollbar handle does not show

See original GitHub issue

Describe 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

  1. Create Container with horizonzally scrollable content
  2. Apply above options
  3. 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:closed
  • Created 3 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Baeddacommented, Jan 5, 2021

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.

0reactions
FSDREcommented, Jan 21, 2021

@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

.cdk-overlay-container {
  z-index: 4000 !important;
}

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 😄

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found