Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

active opacity does not change #357

Open
armata99 opened this issue Sep 23, 2020 · 0 comments
Open

active opacity does not change #357

armata99 opened this issue Sep 23, 2020 · 0 comments

Comments

@armata99
Copy link

It's not set to 0.85 as default and it does not change when i give it the prop. and it drops a white square around the button.

Code sample? here you go:

render() {
    return (
      <SafeAreaView style={styles.container}>
        <StatusBar barStyle={'dark-content'} backgroundColor="transparent" />
        <FlatList
          style={styles.container}
          data={this.state.listData}
          refreshing={this.state.refreshing}
          onRefresh={() => {
            this.setState({listData: [], refreshing: true});
            this.getClassList();
          }}
          keyExtractor={(item, index) => index.toString()}
          renderItem={({item}) => this.renderListItem(item)}
        />
        <ActionButton
          offsetX={25}
          offsetY={35}
          activeOpacity={0.9}
          buttonColor={primaryColor}
          onPress={() => {
            console.log('hi');
          }}
        />
      </SafeAreaView>
    );
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant