Skip to content

Commit

Permalink
style: disable scroll chaining on Autocomplete menu to improve UX (#3120
Browse files Browse the repository at this point in the history
)

* style: disable scroll chaining on Autocomplete menu to improve UX

* Create fuzzy-icons-jog.md
  • Loading branch information
zchenwei committed Dec 1, 2022
1 parent 1e690b3 commit 145d0b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-icons-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aws-amplify/ui": patch
---

style: disable scroll chaining on Autocomplete menu to improve UX
1 change: 1 addition & 0 deletions packages/ui/src/theme/css/component/autocomplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@

&__options {
position: relative;
overscroll-behavior: contain;
display: var(--amplify-components-autocomplete-menu-options-display);
flex-direction: var(
--amplify-components-autocomplete-menu-options-flex-direction
Expand Down

0 comments on commit 145d0b5

Please sign in to comment.