Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Unstyled Scrollbars When Plugging in Mice #18320
In some situations,
Steps to Reproduce
Expected behavior: [What you expect to happen]
The "scrollbars-visible-always" class is added to the workspace element.
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
100% with these repro steps.
MacOS 10.13.6 (High Sierra)
It turns out that if you do the observation from the main process instead, it does get the correct values! In other words:
const scrollbarStyle = require('scrollbar-style'); const remoteScrollbarStyle = require('electron').remote.require('scrollbar-style'); assert(scrollbarStyle.getPreferredScrollbarStyle() === remoteScrollbarStyle.getPreferredScrollbarStyle()) // throws!
Anything I might be missing? Does the macOS scrollbar setting (
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.