Skip to content

Commit

Permalink
fix(side-modal): fixed side modal position' (#3106)
Browse files Browse the repository at this point in the history
* fix(side-modal): set position to fixed to ensure dialog covers longs scrolling pages

* chore: changeset
  • Loading branch information
SiTaggart committed Mar 22, 2023
1 parent b47e131 commit dc07ca4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/tasty-timers-change.md
@@ -0,0 +1,6 @@
---
'@twilio-paste/side-modal': patch
'@twilio-paste/core': patch
---

[Side Modal] set screen position to fixed to ensure the dialog is always full height in long scrolling screens'
Expand Up @@ -27,6 +27,7 @@ const BaseSideModalContainer: React.FC<React.PropsWithChildren<SideModalContaine
state ||
useNonModalDialogPrimitiveState({
modal: true,
unstable_fixed: true,
...initialState,
});

Expand Down

0 comments on commit dc07ca4

Please sign in to comment.