-
I want to use click to trigger the ControlledMenu and its SubMenus if some condition is true, and hover otherwise. How can I achieve this?
-
enhancement: add safe polygon feature for better UX and accessibility:
### Reference
https://github.com/floating-ui/floating-ui/blob/073da89da80577565a69cebd786430e11ea9e3bc/packages/react/src/saf…
-
Hello folks! I love this library I'm spiking trying to use it as a new foundation for our floating UI stack.
We are running into scaling issues with Tippy and I picked @floating-ui precisely because…
-
**Describe the bug**
useHover floating element unexpectedly appears after the reference element is removed from the DOM.
**To Reproduce**
https://stackblitz.com/edit/stackblitz-starters-ynswwy
…
-
**Is your feature request related to a problem? Please describe.**
Currently only the click event is supported in dropdown menu. It should be possible to hover on a desktop and touch on a mobile.
…
-
**Describe the bug**
A clear and concise description of what the bug is.
i am opening a new window with `window.open` that i am rendering with portal and that component has some floating elements …
-
**Describe the bug**
when using `shift` middleware with `crossAxis: true` option, if the tooltip content is too large,
the tooltip keeps flashing.
**To Reproduce**
https://codesandbox.io/s/eloqu…
-
# ❔ Question
I need to read hover **and** focus state of a component and its descendants. How can I use `useHover` and `useFocus` together without overriding the props returned by the first h…
-
直接上示例:
```tsx
import {useHover} from 'ahooks';
import {ReactNode, useRef, useState} from 'react';
import {Button} from "antd";
const Counter = () => {
const [state, setState] = useState(0);
…
-
`useHover` and `useClick`, no longer behave like they used to. Clicking on the button doesn't keep the popover opened after hovering off.
Works as expect with 0.24.2:
https://codesandbox.io/s/serv…