saadeghi / daisyui

๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
34.14k stars 1.3k forks source link

bug: modal bug - the bottom page moves one scroll unit to the left #3171

Closed Zanehb closed 3 weeks ago

Zanehb commented 3 months ago

What version of daisyUI are you using?

4.12.10

Which browsers are you seeing the problem on?

Edge

Reproduction URL

https://play.tailwindcss.com/22h1oVDng7

Describe your issue

The css of global background set to "overflow-hidden". When use the "modal-open", the bottom page moves one scroll unit to the left. The version of "4.9" is normal, and version than "4.9" has the problem. it can be seen in the URL example, when open the modal, the button move left.

github-actions[bot] commented 3 months ago

Thank you @Zanehb 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 commented 3 weeks ago

related issue: #3040