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.
nithur
nithur•32d ago
hey @lab any pointers?
Arcane
Arcane•32d ago
@nithur has reached level 3. GG!
lab
lab•32d 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
nithur•32d 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•32d ago
CSUI Then the floating-ui on top of csui
nithur
nithur•32d 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
nithur•32d ago
can i use the position styling here?
No description
nithur
nithur•32d 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
nithur•32d 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
More Posts
Extension rejected by Google due to RHC violation in Firebase AuthWe have been building an extension which uses Firebase ecosystem. Recently we tried submitting the eCSUI - detecting container removal ?Hey! I use a content script for CSUI and can successfully add my UI. Up to the use case of my app thenv variables in BGSW?Is there a way to access a non-public .env in background service workers akin to server-side in Nextrun content script after click on elementI want to run certain content scripts after the user clicks on a an element. I read the documentatioTailwind stops hot reloadingWhen I change styles in the project created with the tailwind template: `pnpm create plasmo --with-twith-firebase example giving chrome web store violation.Hey everyone, firstly huge thanks to plasmo trying to making developing web extensions more bearableHow to setup google analytics with plasmo react chrome extension in manifest v3and not have it be rejected by the CWS because of remote code? Which setup between those 2 examplesIs there a way to block a browser extension that uses Plasmo in my React app?Is there a way to block a browser extension that uses Plasmo in my React app?Service workersSo I have this sevice worker background.ts, but I can't seen to get it working. All I'm trying to doRedirects working both in Chrome and FirefoxDid you manage to get this to work? I have a similar case. How can I use the `declarativeNetRequest`helpi am building chrome extention for personal project, i want to know how to place button like grammerPublishing to TestFlight through BPPHey folks! I have an extension published to Chrome and Safari (through TestFlight). I was able to geHow can i solve this?Hi everybody. I am new programming in this framework and basically in React. I want to make an extenI have a problem with my projectHi everybody. I am new programming in this framework and basically in React. I want to make an extenHow to debug in vscode?I'd like to try debugging my project in vscode, but I didn't find a tutorial in the official documenGetting a 403 when deploying using plasmo plusHi there, we are using plasmo to deploy to multiple stores, I started with deploying to chrome but Iplasmo dev is failinghere is the verbose output ``` (...) 🟡 4 | @plasmohq/optimizer-es: tabs/import-wallet-with-sContent script not loading when navigating to URL (and other issues)Hi, A little about me first, I'm an experienced C# dev fairly new to TS, extensions and web dev gecommand bar modal w. CSUIanyone successfully implemented a command bar on website that can be called by cmd-k using plasmo csCan't access other elements outside the plasmo-csui shadow rootI'm trying to get the unique url of a tweet container when i click on the button I'm rendering. I ha