-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Crash when focusing on an input #737
Comments
Hello @bmorales-broditec Would it be possible to provide a minimal reproduction example? I understand the problem and I have a workaround, but it'll just fix a crash (not the root problem what caused this crash) 😔 |
## 📜 Description Add a numerical safety test to keyboard animation progress ## 💡 Motivation and Context It solves a random crash in production where progress is infinite Fixes #739 #737 #735 ## 📢 Changelog ### Android - added `isInfinite` check along with `isNaN`; ## 🤔 How Has This Been Tested? Releasing it to production via a patch package the error report disappeared ## 📝 Checklist - [x] CI successfully passed - [x] I added new mocks and corresponding unit-tests if library API was changed
I merged a fix - at least it should prevent a crash (but may lead to unexpected/inconsistent UI state: #740 (comment) Let me know if you encounter any further issues. If you can prepare a reproduction example that would be a dope, since we can manage to discover a root problem and provide a fix 🤞 |
Thank you very much, I'm going to try the new release because I couldn't replicate the issue in another project. |
Yes, it seems like it can happen only in heavy apps, so simple reproduction might not be able to show the problem 🤷♂️ Anyway, let me know how it's going - whether a new fix resolves the problem or you can spot UI issues 👀 |
Describe the bug
I'm using KeyboardProvider and KeyboardToolbar to wrap screens that use inputs, when focusing on an input my application crashes and closes. This error happens often, but not always.
Monosnap.screencast.2024-12-18.10-26-10.mp4
Code snippet
Example:
Expected behavior
When typing in an input the application should show the keyboard with the option to close the keyboard and the actions to be able to move between inputs (The latter is not really necessary but would improve the experience).
Monosnap.screencast.2024-12-18.10-28-09.mp4
Smartphone (please complete the following information):
Additional context
#735
The text was updated successfully, but these errors were encountered: