floating-ui
floating-ui copied to clipboard
A JavaScript library to position floating elements and create interactions for them.
I'm writing a wrapper component and would like to support the various options for the use hooks available when using '@floating-ui/react-dom-interactions'. For example, ``` interface ITooltipProps { // ... clickOptions:
Hey, thanks for creating the library I'm suggesting to add a `relative` modifier to the library, which let's you align tooltips relative to element from another context The use-case for...
Hi! I'm in the process of migrating a component from using Popper.js v2 to Floating UI. Very happy with the rewrite fo far, especially with the native TypeScript–thanks! My component...
I have an element inside an iframe, and I'm trying to compute its position from the parent window. However, when I give `transform: scale(2)` to iframe element, scale doesn't get...
On iOS you can't focus a button, it's therefore not possible to have the tooltip displayed on a button, without the button click event being executed This is from your...
Expands on https://github.com/floating-ui/floating-ui/issues/1381 There have been feature requests related to collision detection of other floating elements, not just a surrounding boundaries. To do this it looks like we have to...
👋 Hi! I just started using this library and so far everything is going amazing with _one_ small edge case that i've been trying to figure out for a while...
Useful for: - Layout-transitioned navigation mega-menus (like Stripe's) - Smooth transitions in general (like Chrome's tab hovercard)
[React Native] More loosely coupled way for the scrollProps to support more use-cases for libraries
I use a Portal from react-native (since a lot of views are positioned relative in RN). It seems the sameScrollView will do what I want but I would like to...
When sending in `animationFrame: true` option to `autoUpdate` the recalculation is not run when window is resized, only if the reference is moved in the resize. Maybe keep dont disable...