Commit ec3131e
committed
Search Blocks overlay: auto-open on initial page load when URL has ?s=keyword (SEARCH-232)
The existing handlePopState() already maps URL → overlay visibility for back/
forward navigation. Wire it to the initial-paint URL too so deep links and the
WordPress core search form's GET submission surface results in the blocks-
powered overlay the same way they do in the legacy instant-search overlay.1 parent 3150567 commit ec3131e
2 files changed
Lines changed: 14 additions & 0 deletions
File tree
- projects/packages/search
- changelog
- src/search-blocks/overlay-bootstrap
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
0 commit comments