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

I found a problem, when rolling out a picker modal or when I click on the alphabet order help me help ... #5

Closed
rafiafmar opened this issue May 1, 2019 · 9 comments

Comments

@rafiafmar
Copy link

rafiafmar commented May 1, 2019

I run the file :
https://github.com/pankod/react-native-picker-modal-view/tree/master/ExampleApp/App.js

err

@hamswaldenkv
Copy link

I have the same problem

@tubufeng
Copy link

tubufeng commented May 1, 2019

maybe you can set:
FlatListProps={{viewabilityConfig:{viewAreaCoveragePercentThreshold:50 }}}

@rafiafmar
Copy link
Author

rafiafmar commented May 2, 2019

@tubufeng :
Have you tried to run the project?
tell me if it works

@leachimsumiri
Copy link

It works, just set the FlatListProps Parameter. The PickerModal Tag can look like that:

<PickerModal onSelected={(selected) => this.selected(selected)} items={items} sortingLanguage={'en'} showToTopButton={true} selected={this.state.selectedItem} autoGenerateAlphabeticalIndex={true} selectPlaceholderText={'Choose one...'} onEndReached={() => console.log('list ended...')} searchPlaceholderText={'Search...'} requireSelection={false} autoSort={true} FlatListProps={{viewabilityConfig:{viewAreaCoveragePercentThreshold:50 }}} />

@omeraplak
Copy link
Contributor

omeraplak commented May 9, 2019

Hi @rafiafmar @tubufeng @xjrimus ,
Thanks for helps. We want to fix it but we can't reproduce this bug. Could you share more information for to reproduce this bug.

@leachimsumiri
Copy link

leachimsumiri commented May 9, 2019

well, I did nothing but used the tag with all the parameters described in your README, created a static Array and it worked. But when I chose the dropdown (so that the Screen had to rerender), I got the Error described here. The workaround is mentioned above

@omeraplak
Copy link
Contributor

Hi @xjrimus ,
We can't reproduce this bug with README of example code. We need more information for your environment. Thanks for helps.

  • What is your react-native version?
  • What are the details from which platform you got this bug? Ios/android os version, model etc...

@omeraplak
Copy link
Contributor

Hi everyone,
We reproduced bug today and we are planning to fix tomorrow with 1.2.1 version. I will inform you when new version has been released. Thanks for your patience and your helps.

@omeraplak
Copy link
Contributor

Hi everyone,
We fixed this issue today and released 1.2.2 version. Thanks for your patience and your helps.

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

5 participants