Skip to content
Discussion options

You must be logged in to vote

With 2. you are mostly there, all you'd need to do is make sure you don't close when interacting outside the dialog if the interaction is inside the toast region. You can use a data attribute or classname or anything you want to check the origin of the event, and call event.preventDefault() in onPointerDownOutside when that matches.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@QzCurious
Comment options

Answer selected by QzCurious
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants