Closing modal
See original GitHub issuethis.bottomSheetRef.current.snapTo(1)
This always works at second click. If there is 3 snapPoints its always goes to heighest one at first and at second click it goes where I want.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:11
Top Results From Across the Web
Close Bootstrap Modal - jquery - Stack Overflow
The modal is displayed initially, but it does not close when clicked outside of the modal. Also, the content area is not greyed...
Read more >How to close modal in Bootstrap - code helpers
There are few ways to close modal in Bootstrap: click on a backdrop, close icon, or close button. You can also use JavaScript...
Read more >Modal - Bootstrap
Modals are built with HTML, CSS, and JavaScript. · Clicking on the modal “backdrop” will automatically close the modal. · Bootstrap only supports...
Read more >Closing the Modal - Regular Labs
By default the modal will have a close button in the top right. Clicking that will close the modal. Also, you can close...
Read more >How to Close a Bootstrap Modal Window Using jQuery
You can simply use the modal('hide') method to hide or close the modal window in Bootstrap using jQuery. Other related Bootstrap's modal methods...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have ran into this problem today. I found a very annoying workaround, calling the
snapTo
twice.like this,
I plan on cloning the repo down this weekend and try to debug what’s going on. @Deepp0925 or @Sargnec let me know if you have some time to do the same and post any findings here!