You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Android]TextBox.InputScope=Number causes cursor to reset when entering non-numeric character #2557
difficulty/starter 🚀Categorizes an issue for which the difficulty level is reachable by newcomersgood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/bugSomething isn't workingplatform/android 🤖Categorizes an issue or PR as relevant to the Android platformproject/text 🔤Categorizes an issue or PR as relevant to text (TextBox, PasswordBox, TextBlock, Fonts, …)
I'm also interested if this behavior is normal in Android apps. It seems that our implementation of TextBox for android includes an implementation of Android's BaseInputConnection. Is it technically possible to override the platform behavior there to feel like WUX?
EDIT: Would love to fix this, but not quite sure yet where inside TextBox.Overrides.Android.cs I can override Android's behavior.
The issue should be closed normally,
Tested in TZ and with Uno.Material 1.2.0 / Uno.UI 4.0.11, the issue is fixed.
( cc @jeromelaban / @jeanplevesque )
difficulty/starter 🚀Categorizes an issue for which the difficulty level is reachable by newcomersgood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/bugSomething isn't workingplatform/android 🤖Categorizes an issue or PR as relevant to the Android platformproject/text 🔤Categorizes an issue or PR as relevant to text (TextBox, PasswordBox, TextBlock, Fonts, …)
Activity
XiaotianNetlift commentedon Jan 29, 2020
lukeblevins commentedon Jun 1, 2021
I was able to reproduce this bug in a small Android app for testing with the latest Uno.UI package (3.7.4 and 3.7.6)
@Xiaoy312 Can confirm that entering a non-numeric character (e.g. space, hyphen) still resets the TextBox cursor position.
@jeromelaban FYI
lukeblevins commentedon Jun 1, 2021
I'm also interested if this behavior is normal in Android apps. It seems that our implementation of TextBox for android includes an implementation of Android's BaseInputConnection. Is it technically possible to override the platform behavior there to feel like WUX?
EDIT: Would love to fix this, but not quite sure yet where inside
TextBox.Overrides.Android.csI can override Android's behavior.jeanplevesque commentedon Nov 22, 2021
Still happens on Uno.UI 3.11.0-dev.487
agneszitte commentedon Dec 22, 2021
The issue should be closed normally,
Tested in TZ and with Uno.Material 1.2.0 / Uno.UI 4.0.11, the issue is fixed.
( cc @jeromelaban / @jeanplevesque )