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 (mastodon#24354)
  • Loading branch information
c960657 authored and skerit committed Jul 7, 2023
1 parent e1c89dc commit dedd8ad
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 dedd8ad

Please sign in to comment.