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

Selections not scrolling on Android (Pixel 2 XL, 3, 3 XL) #36

Open
hunterriffic opened this issue Aug 5, 2019 · 2 comments
Open

Selections not scrolling on Android (Pixel 2 XL, 3, 3 XL) #36

hunterriffic opened this issue Aug 5, 2019 · 2 comments
Labels

Comments

@hunterriffic
Copy link

The list will render with all possible selections but does not allow the user to scroll through the options when viewed on an Android device (tested with Pixel 2 XL, Pixel 3, Pixel 3 XL). Scrolling works on iOS without issues. Here's a glance at our code:

<View
    style={{
        height: 150,
        borderWidth: 1,
        borderColor: "#e1e8ee",
        margin: 5
     }}>
    <SelectMultiple
       keyExtractor={(item, index) => index.toString()}
       items={this.state.audData[0]}
       selectedItems={this.state.selectedAud}
       onSelectionsChange={this.handleChange}
    />
</View>

Any advice?

@alanshaw
Copy link
Member

Please open PR with a fix 🙏

@alanshaw alanshaw added the bug label Oct 15, 2019
@ace3
Copy link

ace3 commented Nov 4, 2019

<ScrollView nestedScrollEnabled = {true} >
<SelectMultiple
       keyExtractor={(item, index) => index.toString()}
       items={this.state.audData[0]}
       selectedItems={this.state.selectedAud}
       onSelectionsChange={this.handleChange}
    />
</ScrollView >

if you have multiple ScrollView, you can add nestedScrollEnabled to every ScrollView

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants