Skip to content

Commit 7efc2f3

Browse files
fix(UIShell): fix hover issue, reasonable default for enter/exit delay (#13961)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 04644a9 commit 7efc2f3

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

packages/react/src/components/IconButton/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ const IconButton = React.forwardRef(function IconButton(props, ref) {
2121
closeOnActivation = true,
2222
defaultOpen = false,
2323
disabled,
24-
enterDelayMs,
24+
enterDelayMs = 100,
2525
kind,
2626
label,
27-
leaveDelayMs,
27+
leaveDelayMs = 100,
2828
wrapperClasses,
2929
size,
3030
...rest

packages/styles/scss/components/ui-shell/header/_header.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
}
4949
}
5050

51+
.#{$prefix}--header__global .#{$prefix}--popover {
52+
z-index: z('header') + 1;
53+
}
54+
5155
.#{$prefix}--header__action > :first-child {
5256
margin-block-start: 0;
5357
}

0 commit comments

Comments
 (0)