Floating-ui with plasmo?
Anyone managed to use floating-ui with Plasmo? I have been trying to inject a floating modal that can focus fully on the modal with floating-ui but with no avail. If you have used it before please share some tips. Thanks.
9 Replies
hey @lab any pointers?
@nithur has reached level 3. GG!
It depends on how you mount the floating-ui
If you're trying to replicate Grammarly, just do absolute positioning spanning the whole page.
can you please share the relevant section of the plasmo docs for this one?
should I absolute position csui or floating-ui?
CSUI
Then the floating-ui on top of csui
oh, great
so should I use overlay for the csui?
can you share the code for absolute positioning becauase I am lost on where to style it exactly
can i use the position styling here?
still not able to get floating-ui work with absolute positioning
update on this one: this method didn't work
method #2: I use tailwind so I tried to set positioning via tailwind classes, but that also didn't work
Hey @lab, I tried to do like you recommended, but still not working: