BugFix FXIOS-28385 [Search Suggestions] Keep suggestions visible when scrolling on Custom New Tab #30144
+5
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🧾 Tickets
📝 Description
When New Tab is set to Custom, dragging the suggestions list hides the keyboard and unintentionally cancels URL bar editing, which closes the suggestions abruptly
This change skips the keyboard hide auto cancel while suggestions are visible aligning behaviour with Firefox Home/Blank.
Before
issue.mp4
After
fix.mp4
Test plan
✅ Checklist
I filled in the ticket numbers and a description of my work
I updated the PR name to follow our PR naming guidelines
I ensured unit tests pass and wrote tests for new code
If working on UI, I checked and implemented accessibility (Dynamic Text and VoiceOver)
If adding telemetry, I read the data stewardship requirements and will request a data review
If adding or modifying strings, I read the guidelines and will request a string review from l10n
If needed, I updated documentation and added comments to complex code
Fixes Suggestions view closes when attempting to scroll, when New Tab is set to Custom #28385