Skip to content
Snippets Groups Projects
Unverified Commit ffd5b2ee authored by Christian Schmidt's avatar Christian Schmidt Committed by GitHub
Browse files

Fix height of announcements not being updated when using reduced animations (#24354)

parent 966d7cff
No related branches found
No related tags found
No related merge requests found
......@@ -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')}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment