Skip to content

Shimmer on View IOS vs Android. #28

Description

@0hio-creator

Hi all,

The behaviour I am experiencing:
Android only works when the animating props value is constant. animating={true}
IOS only works when the animating value is dynamic. Like connected to redux

This is my Android code setup.

TouchableOpacity  style={styles.buttonFloat} onPress={()=> {}}>
                        <Shimmer>
                        <View  >
                            <Text >{'START MY FIRST PROGRAM'}</Text>
                        </View>
                        </Shimmer>
                    </TouchableOpacity>

This is my IOS setup

TouchableOpacity  style={styles.buttonFloat} onPress={()=> {}}>
                        <Shimmer
                        animating={( this.props.currentScreen=='currentScreen')?true:false}
                         >
                        <View  >
                            <Text >{'START MY FIRST PROGRAM'}</Text>
                        </View>
                        </Shimmer>
                    </TouchableOpacity>

I think its to do with the View

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions