atomiks
atomiks
Alternative using spreadable props which is slightly more ergonomic imo: ```js const {polygonProps, safePolygon} = useSafePolygon(); useHover(context, { handleClose: safePolygon(), }); return open && ; ```
Unfortunately this has a problem in Firefox where it won't block pointer-events when the polygon gets generated on the mouseleave for 1 frame ~half the time, doesn't happen in Chrome...
Add the polygon component to the Menu.tsx component file in the playground. Add another nested submenu right under the "Share..." one. Remove `restMs: 25` from the `safePolygon()` call (non-0 is...
The React library is very straightforward to migrate to, but for the config you'll want to read https://floating-ui.com/docs/migration
For some reason locally `display: inline` is clipping the reference. `contents` doesn't though...
This isn't something that can be fixed. Positioning is not "free", especially for 1000 items! It inevitably has to do a ton of calculations on the main thread. What is...
> On android you can trigger the focus event by holding for a long time To make it work on iOS we probably need to handle touch events and check...
Atom was discontinued in Dec. 2022
I don't plan to maintain a theme for anything other than VS Code, however I'm sure ports may exist.
I haven't had time to work on Tippy anymore. If you want to make a PR that switches to Floating UI, I can publish it as v7.