-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[TNS 3.0] Android: Pressing ENTER key from hardware keyboard in TextView throws an exception #4123
Comments
Hi @PeterStaev, |
…oesn’t throw exception when Return is pressed Fix #4123
Fix will be released in 3.0.1 later this week. |
I'm still seeing this issue; however, only when running in release mode (i.e. Note I've tested on an emulator and on an actual device, both running Android 7.x. |
Hi @rrjohnson85, |
@tsonevn - I've tried deleting the |
Hi @rrjohnson85, |
@tsonevn A sample can be found at https://github.com/rrjohnson85/ns-4123 After installing NPM dependencies, run Once the application loads, give the TextView focus and try to add a new line in the TextView - the application crashes immediately in all of my tests. |
Hi @rrjohnson85,
Bear in mind to delete |
@tsonevn It seems to be working now, though I'm not exactly sure why. Do you know which dependencies were causing the problem? |
Hi @rrjohnson85 |
The problem persist for me with exactly the same package.json content than @tsonevn, except for :
But it seems to happen only on Samsung keyboard, not android keyboard. Here is the crash report I get when I tape the "return" touch on a Samsung SM-G935F device :
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This was tested on stock android emulators API 23, inside a
TextView
widget if you press Enter key on the keybaord (which my guess emulates the press of an Enter key on a hardware keyboard on a real device) throws the below mentioned error. Problem is this line where the call to_onReturnPress()
is which is not implemented by theTextView
widget due to incorrect typings in thed.ts
file ofEditableTextBase
The text was updated successfully, but these errors were encountered: