Floating UIs #8431
shashkovdanil
started this conversation in
General
Floating UIs
#8431
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to add new modal with tooltip and faced with many problems:
It's really hard to fix. When trying to fix this, you start using hacks like z-index: 999999999, which often don't work because of nested elements
I tried to use

append-to-body
prop but it doesn't work properlyAs a result, a simple thing like a tooltip is very time consuming.
:can-cancel="['outside', 'escape']"
. Why should we pass this property if this is the default behavior of modal?Many of the problems I described are solved in a wonderful library called floating-ui
Beta Was this translation helpful? Give feedback.
All reactions