Automattic / Automattic/jetpack
Instant Search: Closing the search overlay on a search page temporarily re-enables body scroll
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
1. Enable instant search.
2. Open up /?s=foo
3. Reduce your browser size to that of mobile for best visibility and to make sure you have enough content to scroll.
4. Click on the X button of the search overlay – the body scroll will be restored making a scroll bar appear until the redirect to the homepage is done.
https://videopress.com/v/dEofaICk
Original report: p8oabR-DS-p2#comment-5129
Contributor guide
Research direction
No file or test is named. Reproduce the issue at /?s=foo with a mobile-sized viewport, then trace the instant-search overlay close behavior and redirect. Done means closing the overlay does not temporarily restore body scrolling or show a scrollbar before navigation completes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100