Skip to content

Fix bug that the button in header disappears when canceling the search#16

Closed
jaywhj wants to merge 5 commits intozensical:masterfrom
jaywhj:fix-bug-5
Closed

Fix bug that the button in header disappears when canceling the search#16
jaywhj wants to merge 5 commits intozensical:masterfrom
jaywhj:fix-bug-5

Conversation

@jaywhj
Copy link
Contributor

@jaywhj jaywhj commented Dec 12, 2025

Fix bug, on mobile, after switching the classic theme and clicking the search button and then canceling the search, the language selection box and theme switching button in the header will disappear, and at the same time the page is stuck and can't be scrolled, recurring every two clicks (odd numbered clicks)

222

Signed-off-by: Aaron <junewhj@qq.com>
Signed-off-by: Aaron <junewhj@qq.com>
Signed-off-by: Aaron <junewhj@qq.com>
Fix bug, on mobile, after switching the classic theme and clicking the search button and then canceling the search, the language selection box and theme switching button in the header will disappear, and at the same time the page is stuck and can't be scrolled, recurring every two clicks (odd numbered clicks)

Signed-off-by: Aaron <junewhj@qq.com>
@zensical
Copy link

zensical bot commented Dec 12, 2025

All commits verified and signed off.

squidfunk added a commit that referenced this pull request Dec 18, 2025
…c theme (#16)

Signed-off-by: squidfunk <martin.donath@squidfunk.com>
@squidfunk
Copy link
Member

Thanks for the PR. The fix was not correct though, it just needed to be fixed in CSS. Fixed in fa23b1c.

@squidfunk squidfunk closed this Dec 18, 2025
squidfunk added a commit that referenced this pull request Dec 18, 2025
* refactor: use `px2rem` for `kbd` styles

Signed-off-by: squidfunk <martin.donath@squidfunk.com>

* fix: instant navigation doesn't trigger on keyboard shortcuts `p` and `n` (#10)

Signed-off-by: squidfunk <martin.donath@squidfunk.com>

* fix: header buttons disappear on mobile when opening search in classic theme (#16)

Signed-off-by: squidfunk <martin.donath@squidfunk.com>

* fix: search can receive keyboard input after being closed (#10)

Signed-off-by: squidfunk <martin.donath@squidfunk.com>

* fix: language selector escapes viewport when too wide on mobile (#14)

Signed-off-by: squidfunk <martin.donath@squidfunk.com>
Co-authored-by: jaywhj <7008992+jaywhj@users.noreply.github.com>

* fix: git repository not shown in sidebar on mobile in modern theme (#6)

Signed-off-by: squidfunk <martin.donath@squidfunk.com>

* feature: add third-party licenses to distribution files (#1)

Signed-off-by: squidfunk <martin.donath@squidfunk.com>

---------

Signed-off-by: squidfunk <martin.donath@squidfunk.com>
Co-authored-by: jaywhj <7008992+jaywhj@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments