Background
- The users is able to scroll in the background when the dialog is opened in the new mobile search experience
https://phabricator.wikimedia.org/F62404866
User story
- Add user story in the format: “As a [persona], I want to [X], so that [Y]”
Requirement
Prevent background scrolling when the mobile search overlay is active, ensuring a single scrollable context for the user.
BDD
Feature: Background scrolling behavior in mobile search overlay Scenario: Search overlay restricts background scroll Given I am using the mobile site with the new search experience When I tap the search icon and the search overlay opens Then only the search results area should be scrollable And the page content behind the overlay should not scroll And there should only be one search bar visible
Test Steps
Test Case 1: Background is non-scrollable when overlay is active
- Visit testwiki or any beta cluster wiki with the new mobile search experience enabled
- Tap on the search icon to activate the search overlay
- Attempt to scroll the background page content
- AC1: Background content should not scroll
- Scroll within the search results
- AC2: Search results area should be scrollable
- AC3: Only one search bar is present in the overlay
Design
none
Acceptance criteria
Communication criteria - does this need an announcement or discussion?
- none
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T397539#10963477 |
| 2 | ✅ | T397539#10963477 |
| 3 | ✅ | T397539#10963477 |
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T397539#10970586 |
| 2 | ✅ | T397539#10970586 |
| 3 | ✅ | T397539#10970586 |

