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

When zooming out, the default scroolbar is shown #15

Closed
diegonunes4 opened this issue Feb 3, 2021 · 5 comments
Closed

When zooming out, the default scroolbar is shown #15

diegonunes4 opened this issue Feb 3, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@diegonunes4
Copy link

Hello, is this possible to fix? You can recreate this issue if you go to the demo page and just zoom out, the default browser scrollbar will appear.

Thanks for restoring the project!

@Tomassito
Copy link
Contributor

Hi @diegonunes4 , we could get some resize listeners rolling.
What do you think @sakhnyuk ?

@sakhnyuk sakhnyuk added the bug Something isn't working label Feb 6, 2021
@sakhnyuk
Copy link
Owner

sakhnyuk commented Feb 6, 2021

Hello @diegonunes4.
I need to research how depend zoom in/out on scrollbarWidth

return scrollbarWidth || 0;

Could you provide some information?
You are using macOS? What that browser?

Thank you 👌

@sakhnyuk sakhnyuk mentioned this issue Feb 7, 2021
2 tasks
@sakhnyuk
Copy link
Owner

sakhnyuk commented Feb 7, 2021

@diegonunes4 I've published v1.1.1 with the fix. Could you try to test it?

I have tested Chrome and Safari on macOS. Works well.

@sakhnyuk
Copy link
Owner

sakhnyuk commented Feb 7, 2021

There works fine as well 👇
https://codesandbox.io/s/rc-scrollbars-test-qjoc6

@diegonunes4
Copy link
Author

Hello @sakhnyuk, it's working, sorry that I didn't answer you before, just noticed that today! Thank you very much for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants