Skip to content

Commit

Permalink
Fix height of announcements not being updated when using reduced anim…
Browse files Browse the repository at this point in the history
…ations (#24354)
  • Loading branch information
c960657 committed Apr 5, 2023
1 parent 966d7cf commit ffd5b2e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -418,7 +418,7 @@ class Announcements extends ImmutablePureComponent {
<img className='announcements__mastodon' alt='' draggable='false' src={mascot || elephantUIPlane} />

<div className='announcements__container'>
<ReactSwipeableViews animateHeight={!reduceMotion} adjustHeight={reduceMotion} index={index} onChangeIndex={this.handleChangeIndex}>
<ReactSwipeableViews animateHeight animateTransitions={!reduceMotion} index={index} onChangeIndex={this.handleChangeIndex}>
{announcements.map((announcement, idx) => (
<Announcement
key={announcement.get('id')}
Expand Down

0 comments on commit ffd5b2e

Please sign in to comment.