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
nithur
nithurOP•8mo ago
hey @lab any pointers?
Arcane
Arcane•8mo ago
@nithur has reached level 3. GG!
lab
lab•8mo ago
It depends on how you mount the floating-ui If you're trying to replicate Grammarly, just do absolute positioning spanning the whole page.
nithur
nithurOP•8mo ago
can you please share the relevant section of the plasmo docs for this one? should I absolute position csui or floating-ui?
lab
lab•8mo ago
CSUI Then the floating-ui on top of csui
nithur
nithurOP•8mo ago
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
nithur
nithurOP•8mo ago
can i use the position styling here?
No description
nithur
nithurOP•8mo ago
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
nithur
nithurOP•8mo ago
Hey @lab, I tried to do like you recommended, but still not working:
No description
Want results from more Discord servers?
Add your server