daisyui icon indicating copy to clipboard operation
daisyui copied to clipboard

bug: Can't Scroll through Closed Scrolling Modal

Open abegehr opened this issue 1 year ago โ€ข 3 comments

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

abegehr avatar Jul 11 '24 11:07 abegehr

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.

github-actions[bot] avatar Jul 11 '24 11:07 github-actions[bot]

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

abegehr avatar Jul 11 '24 20:07 abegehr

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

https://github.com/user-attachments/assets/44fb31c8-49f2-462d-bfc7-e81d9f22476b

saadeghi avatar Jul 14 '24 12:07 saadeghi