themesberg / themesberg/flowbite
Closing modal keeps backdrop
Open
@zoltanszogyenyi is already working on this.
Since Sep 17, 2024.
bug
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 862
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When I close a modal using javascript, the backdrop remains.
To Reproduce
Steps to reproduce the behavior:
- Close a modal using javascript
Expected behavior
The modal should completely close.
Screenshots
Desktop (please complete the following information):
- OS: Fedora 40
- Chrome
- 128.0.6613.137
Additional context
Here's my code: https://gist.github.com/alec-jensen/80a7b28aa8302cb36fa1a2a62a581eee
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.