~cytrogen/masto-fe

ffd5b2eea4503c2ee389c7aa5dff9c51dbf9f846 — Christian Schmidt 3 years ago 966d7cf
Fix height of announcements not being updated when using reduced animations (#24354)

1 files changed, 1 insertions(+), 1 deletions(-)

M app/javascript/mastodon/features/getting_started/components/announcements.jsx
M app/javascript/mastodon/features/getting_started/components/announcements.jsx => app/javascript/mastodon/features/getting_started/components/announcements.jsx +1 -1
@@ 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')}