Skip to content

Commit

Permalink
fix(s2): Improve ActionBar transition when scrollbars are visible (#7607
Browse files Browse the repository at this point in the history
)
  • Loading branch information
devongovett authored Jan 14, 2025
1 parent 1b425ca commit e29b059
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/@react-spectrum/s2/src/ActionBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const actionBarStyles = style({
position: {
isInContainer: 'absolute'
},
bottom: 8,
bottom: 0,
insetStart: 8,
'--insetEnd': {
type: 'insetEnd',
Expand All @@ -66,15 +66,12 @@ const actionBarStyles = style({
},
marginX: 'auto',
maxWidth: 960,
transition: 'default',
transition: 'transform',
transitionDuration: 200,
translateY: {
default: -8,
isEntering: 'full',
isExiting: 'full'
},
opacity: {
isEntering: 0,
isExiting: 0
}
});

Expand Down

0 comments on commit e29b059

Please sign in to comment.