focus-android
focus-android copied to clipboard
Find in page : The number of results doesn't get cleared when search field is cleared
Steps to reproduce
Search for some text in "Find in page" -> Clear search text
Expected behavior
The number of matches being zero for blank text, the text field indicating number of matches must be zero
Actual behavior
It indicates the previous number of matches
Device information
- Android device: Redmi Note 4
- Focus version: 8.0.22
I wish to work on this
I was able to reproduce this issue by following these STR:
- Open a page with a lot of text.
- From the three-dot menu, select the "Find in page" option.
- Without enterring any characters, tap the up/down arrows from the "Find in page" search field.
Tested with Lenovo tab M10 (Android 10), on RC 91.2.2 build 352310216.
Reproducible also on 93.0.2 (build 352522329 - GV 93.0a1-20210906031657) with Lenovo Tab M10 (Android 10).
Reproducible on RC 93.1.0 with Lenovo Tab M10 (Android 10).
The issue is still present on Beta 94.0.0-beta.2 (build 352922038 GV 94.0-20211017185800) and the latest debug build from main 10/20 with Huawei P9 Lite (Android 8).
Reproducible on Beta 100.0.0-beta.1 with Lenovo Tab M10 (Android 10).
Reproducible on Beta 101.0.0-beta.1 with Oppo Reno 6 (Android 12).
Reproducible on Beta 102.0.0-beta.1 with Samsung Galaxy Tab A6 (Android 5.1.1).
Reproducible on Beta 103.0.0-beta.1 with Lenovo tablet M10 (Android 10).
Reproducible on Beta 104.0b1 with Lenovo tablet M10 (Android 10).
Note: This is also reproducible in Fenix
Note: This is also reproducible in Fenix
Would the fix then be in GeckoView / A-C?
yes, probably in A-C
Verified as fixed on Focus Nightly 106.0a1 from 08/26 with Xiaomi 12 Pro (Android 12).
https://user-images.githubusercontent.com/89388888/186909805-528acffe-a7e9-413e-883f-f397c5029cef.mp4
Verified as fixed also on Beta 106.0b1 with Oppo Reno 6 (Android 12).