Skip to content

Commit

Permalink
fix(combobox): open dropdown position on scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSisb committed Mar 31, 2023
1 parent a27c509 commit 121154d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/eleven-donkeys-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@twilio-paste/combobox': patch
'@twilio-paste/core': patch
---

[Combobox] Fix incorrect dropdown menu position when Combobox is opened on a scrolled page.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const Combobox = React.forwardRef<HTMLInputElement, ComboboxProps>(
</InputBox>
<Portal>
<Box
position="absolute"
position="fixed"
top={inputBoxDimensions?.bottom}
left={inputBoxDimensions?.left}
right={inputBoxDimensions?.right}
Expand Down

0 comments on commit 121154d

Please sign in to comment.