wix / react-native-ui-lib

UI Components Library for React Native
https://wix.github.io/react-native-ui-lib/
MIT License
6.57k stars 715 forks source link

Not Scrollview inside renderSheet #3396

Open jpcastro4 opened 3 days ago

jpcastro4 commented 3 days ago

Description

Inside ActionSheet on Android not possible scrollview for much items.

Related to

Steps to reproduce

Add more 50 items in options

Expected behavior

Scroll items

Suggested

I am suggest add ScrollView inside renderSheet for resolve bug

renderSheet() {
    const {
      renderTitle
    } = this.props;
    const {
      containerStyle
    } = this.props;
    return <View style={[styles.sheet, containerStyle]}>
        {_isFunction(renderTitle) ? renderTitle() : this.renderTitle()}
        <ScrollView>
            {this.renderActions()}
        </ScrollView>
      </View>;
  }

Affected platforms