mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-04 05:15:41 -05:00
fix issue where tooltips would block the first press of buttons in the nav on mobile
This commit is contained in:
@@ -74,6 +74,7 @@ export default function Tooltip({ children, ...props }: Props) {
|
||||
useHover(context, {
|
||||
restMs: props.rest ?? 30,
|
||||
delay: props.delay ?? 0,
|
||||
mouseOnly: true,
|
||||
enabled: enabled && interactions.includes('hover'),
|
||||
}),
|
||||
useFocus(context, { enabled: enabled && interactions.includes('focus') }),
|
||||
|
||||
Reference in New Issue
Block a user