Skip to content

Commit

Permalink
fix(dialog): FixedDialog applies style prop
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Apr 14, 2021
1 parent 1ab84d7 commit bb4ad2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/dialog/src/FixedDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const FixedDialog = forwardRef<HTMLDivElement, FixedDialogProps>(
function FixedDialog(
{
fixedTo,
style: propStyle,
anchor = TOP_INNER_RIGHT_ANCHOR,
options,
getOptions,
Expand All @@ -76,6 +77,7 @@ export const FixedDialog = forwardRef<HTMLDivElement, FixedDialogProps>(
onEntered,
onExited,
} = useFixedPositioning({
style: propStyle,
transformOrigin: true,
...options,
onScroll: (_event, { visible }) => {
Expand Down

0 comments on commit bb4ad2f

Please sign in to comment.