question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IconButton animating constantly, tested on 3.11.0 and 4.0.1

See original GitHub issue

Current behaviour

The icon is constantly animating, prior to 3.11.0, it would only animate when interacted with, which I assume is how it should be, right?

Expected behaviour

Not having a constant animation unless interacted with.

Code sample

import { FontAwesome5 } from '@expo/vector-icons';

<IconButton
										key={4}
										icon={props => <FontAwesome5 {...props} name='bars' />}
										color={theme.colors.black}
										size={20}
										style={{ ...styles.drawerIcon, top: insets.top + 5, left: insets.left + 5 }}
										onPress={props.navigation.openDrawer}
										animated={true}
									/>

Screenshots (if applicable)

https://share.icloud.com/photos/0ff39CAqCmv8fO0ouBIodG83w

What have you tried

Not applicable.

Your Environment

software version
ios or android iOS 13.5.1
react-native 0.62.2
react-native-paper 4.0.1
node 14.4
npm or yarn latest
expo sdk 38

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

3reactions
karimcambridgecommented, Sep 25, 2020

Just bumping for stale bot.

0reactions
micahltcommented, Jul 7, 2022

Same issue here - this is making my app almost unusable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

polymer-cdn v2.6.0.2 - GitHub Pages
This repository aims to be a complete set of the standard Polymer components, grouped in such a way that (transitive) dependencies can be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found