S Scantech Well-Known Member Licensed User Longtime User Aug 23, 2024 #1 Recently, i created a search view and i have notice something strange with edittext box EditText1_TextChanged. By typing lower case "i" only in textbox will trigger the event twice? Most other characters that i tested triggers once. Strange? Tested with Samsung s21 ultra Attachments edittextbox testt.zip edittextbox testt.zip 9.9 KB · Views: 353 Last edited: Aug 23, 2024
Recently, i created a search view and i have notice something strange with edittext box EditText1_TextChanged. By typing lower case "i" only in textbox will trigger the event twice? Most other characters that i tested triggers once. Strange? Tested with Samsung s21 ultra
Duque Active Member Licensed User Longtime User Aug 24, 2024 #2 You are right, I tried your code and the second time I press the i, I get the double event Upvote 0
mangojack Expert Licensed User Longtime User Aug 24, 2024 #3 Tested Oppo A16. Event only triggered once. Tested Samsung A53s Event triggered twice for multiple characters ( the New string did not alter) After cleaning Samsung screen ... the issue is a lot less frequent, but .. On each fresh debug run (abcde) , the "e" triggers event twice. ps: I was focused on the "e" issue .. I confirm also the "i" is triggering the event twice. 100% on fresh debug run , and occasionally during the same run. Last edited: Aug 24, 2024 Upvote 0
Tested Oppo A16. Event only triggered once. Tested Samsung A53s Event triggered twice for multiple characters ( the New string did not alter) After cleaning Samsung screen ... the issue is a lot less frequent, but .. On each fresh debug run (abcde) , the "e" triggers event twice. ps: I was focused on the "e" issue .. I confirm also the "i" is triggering the event twice. 100% on fresh debug run , and occasionally during the same run.
Erel B4X founder Staff member Licensed User Longtime User Aug 25, 2024 #4 Doesn't happen here. It is most probably related to the configured soft keyboard. A bit stretch but it might be related to special handling of i and upper casing it to I. B4A simply listens for the underlying afterTextChanged event and raises it. So the bug is on a lower level. Upvote 0
Doesn't happen here. It is most probably related to the configured soft keyboard. A bit stretch but it might be related to special handling of i and upper casing it to I. B4A simply listens for the underlying afterTextChanged event and raises it. So the bug is on a lower level.
teddybear Well-Known Member Licensed User Aug 25, 2024 #5 Doesn't happen on my phone either . did you test this within some apps else? Upvote 0