Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix autocomplete demo bug and bump menu z-index #3013

Merged
merged 5 commits into from
Nov 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/tame-drinks-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aws-amplify/ui": patch
---

fix: fix autocomplete popup render issue in Safari and Firefox and bump its z-index
3 changes: 2 additions & 1 deletion packages/ui/src/theme/css/component/autocomplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@

.amplify-autocomplete {
position: relative;
display: block;
}

.amplify-autocomplete__menu {
position: absolute;
z-index: 99;
z-index: 999999;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

over 9000


width: var(--amplify-components-autocomplete-menu-width);
margin-block-start: var(
Expand Down