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

bug: scrollbars appear when there's no need for them #2613

Closed
jaimeiniesta opened this issue Dec 4, 2023 · 4 comments
Closed

bug: scrollbars appear when there's no need for them #2613

jaimeiniesta opened this issue Dec 4, 2023 · 4 comments

Comments

@jaimeiniesta
Copy link

What version of daisyUI are you using?

4.4.19

Which browsers are you seeing the problem on?

Chrome, Safari, Firefox

Reproduction URL

https://www.dropbox.com/scl/fi/3vxy8yrp9yyxrs2g6s1kq/daisyui-scrollbars.mov?rlkey=mw5j0rm7thc9wz9atx1ack3u4&dl=0

Describe your issue

On a recent change, scrollbars are always visible even when there's no need (no overflow).

In the linked video you can see how scrollbars are not shown, but if I make the up/down mouse gesture, scrollbars appear.

I'd expect scrollbars to appear only if there's a scrollable overflow. Take for example the sidenav in https://github.com

Copy link

github-actions bot commented Dec 4, 2023

Thank you @jaimeiniesta for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

@saadeghi
Copy link
Owner

saadeghi commented Dec 4, 2023

Do you experience the problem here as well?
https://play.tailwindcss.com/zHAHY7cRz3

Because it looks like there's another reason for the scroll. I'm not sure unless I can reproduce the issue and see the styles.

@jaimeiniesta
Copy link
Author

Ah, no, with your example it works fine.

Sorry, I should have checked more in depth before opening the issue. It must be something else on my side.

@saadeghi
Copy link
Owner

saadeghi commented Dec 4, 2023

Let me know if I can help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants