themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
7.29k stars 708 forks source link

Backdrop not hiding when hide() function is call #875

Closed AzPogoDev closed 1 month ago

AzPogoDev commented 1 month ago

Describe the bug When I click on my hide() function the modal is hidding, but i steal show the backdrop

Lexachoc commented 1 month ago

I've had this issue before with the backdrop not hiding. I fixed the issue by changing the z-index value, but it may be different in your case (not sure as you didn't provide the minimal code).

It may be related to https://github.com/themesberg/flowbite/issues/858#issue-2242596726 and may be resolved by https://github.com/themesberg/flowbite/pull/859#issue-2242610350

zoltanszogyenyi commented 1 month ago

Should be fixed via this https://github.com/themesberg/flowbite/commit/6a610096a9f6630fc2a30a2894e308bf351d33e0. Will be added to the next NPM release in a couple of days. Thanks!