Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit 271675f

Browse files
committed
Push from menu-display-hidden (#14)
1 parent ec2e64c commit 271675f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/ui/src/components/textbox/textbox-autocomplete/textbox-autocomplete.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ export function TextboxAutocomplete<Name extends string>({
364364
class={createClassName([
365365
menuStyles.menu,
366366
disabled === true || isMenuVisible === false
367-
? menuStyles.hidden
367+
? menuStyles.displayNone
368368
: null,
369369
top === true
370370
? textboxAutocompleteStyles.top

packages/ui/src/css/menu.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
visibility: hidden;
2020
}
2121

22+
.displayNone {
23+
display: none;
24+
}
25+
2226
@media screen and (-webkit-min-device-pixel-ratio: 1.5),
2327
screen and (min-resolution: 1.5dppx) {
2428
.menu {

0 commit comments

Comments
 (0)