-
Notifications
You must be signed in to change notification settings - Fork 130
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
Delayed onChange #114
Comments
That should be ok. Please submit a PR and we'll merge right away. |
I agree that conceptual this should be just fine. Just be aware of an issue regarding iOS and |
@mikaello All good points. My one thought is this: Isn't the issue of an Alert interrupting the JS thread an issue in a million different ways? I feel like this issue would pop up in every project if you're firing off an Alert when an animation or other process may be running. Is that even something worth sacrificing UI feedback/response to fix, something where the likely better solution would be to use a non-blocking Alert alternative? I feel like it's similar to alerts in a web browser. They're kind of lame to begin with, and most mature web apps don't use them anyway. |
fixed 'onChange delayed' bug peacechen#114 added 'Alert does not work in SampleApp for iOS' bug peacechen#6
I noticed the delay too. Could it be merged anyway? |
Hopefully this doesn't cause unintended side effects. If it does, we could add a prop to control the onChange behavior -- previous work-around or none. |
added 'Alert does not work in SampleApp for iOS' bug peacechen#6
The onChange event currently doesn't fire until the closing animation is 100%, done if not later. This causes the UI to not be updated to the new value (at least when using a custom selector component), until about a full second later.
Would it be possible to fire the onChange event right away instead of after the animation?
I don't see a reason that would be problematic. Thoughts?
The text was updated successfully, but these errors were encountered: