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: Can't Scroll through Closed Scrolling Modal #3129

Open
abegehr opened this issue Jul 11, 2024 · 3 comments
Open

bug: Can't Scroll through Closed Scrolling Modal #3129

abegehr opened this issue Jul 11, 2024 · 3 comments

Comments

@abegehr
Copy link

abegehr commented Jul 11, 2024

What version of daisyUI are you using?

v4.12.10

Which browsers are you seeing the problem on?

Safari

Reproduction URL

https://play.tailwindcss.com/CeDiRXRV2i

Describe your issue

I've noticed a bug on one of my pages that uses daisyui, where a div that's marked with "overflow-y-scroll" doesn't scroll when the cursor is over a modal that itself scrolls, while the modal is closed. The issue doesn't occur on Chrome.

There is a reproduction attached to this issue. Screenshots for explanation:
Screenshot 2024-07-11 at 13 49 30
Screenshot 2024-07-11 at 13 49 46

Copy link

Thank you @abegehr 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.

@abegehr
Copy link
Author

abegehr commented Jul 11, 2024

I'm working around this issue by setting overflow-hidden on the modal-box when the modal is closed now.

@saadeghi
Copy link
Owner

saadeghi commented Jul 14, 2024

It does scroll anywhere on the green box. I don't see any issues 🤔
This video is Safari 18:

1.mp4

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