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

Scrolling issue (Android) #184

Open
Inveth opened this issue May 15, 2023 · 2 comments
Open

Scrolling issue (Android) #184

Inveth opened this issue May 15, 2023 · 2 comments

Comments

@Inveth
Copy link

Inveth commented May 15, 2023

Hello,

I've used very first example from docs but manipulating container to become 50% of screen width and center either with flex or marginLeft would make dropdown scrollable only on left side of it.

I've tried downgrading the package to 2.5.2 but that does not help.

@eduardo-santos-tribia
Copy link

I was having a similar issue using the MultiSelect component but for Android only.

Problem

Looks like a left view responsible for detecting the scroll-touching events is floating in the left part of the screen. You can check this behavior on the print screen below (I've added a red background to make it clear):
image

Solution

To solve this I removed the left prop from a <View> inside the lib component and put this prop into another child <View>. Below is the result after the solution is applied:
image

I don't have time now to fork the repository and create a PR, but I've created a patch to solve this issue and also this other one.

Here is the patch:
react-native-element-dropdown+2.9.0.patch

@robozb
Copy link

robozb commented Sep 18, 2023

At me scrolling on Android desn't work as well

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

3 participants