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

Commit

Permalink
Push from menu-display-hidden (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
labithiotis committed Aug 6, 2024
1 parent ec2e64c commit 271675f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ export function TextboxAutocomplete<Name extends string>({
class={createClassName([
menuStyles.menu,
disabled === true || isMenuVisible === false
? menuStyles.hidden
? menuStyles.displayNone
: null,
top === true
? textboxAutocompleteStyles.top
Expand Down
4 changes: 4 additions & 0 deletions packages/ui/src/css/menu.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
visibility: hidden;
}

.displayNone {
display: none;
}

@media screen and (-webkit-min-device-pixel-ratio: 1.5),
screen and (min-resolution: 1.5dppx) {
.menu {
Expand Down

0 comments on commit 271675f

Please sign in to comment.