Skip to content

On mobile: focus on searchinput on offcanvas open#805

Open
tswfi wants to merge 1 commit into
PrestaShop:developfrom
tswfi:mobile_focus_on_searchinput_on_offcanvas_open_new
Open

On mobile: focus on searchinput on offcanvas open#805
tswfi wants to merge 1 commit into
PrestaShop:developfrom
tswfi:mobile_focus_on_searchinput_on_offcanvas_open_new

Conversation

@tswfi

@tswfi tswfi commented Nov 10, 2025

Copy link
Copy Markdown
Contributor
Questions Answers
Description? On mobile view focus on the searchinput when the offcanvas search is shown. Also clear the search when the offcanvas is hidden
Type? improvement
BC breaks? no
Deprecations? no
Fixed ticket? Touches on issue #734 (the actual issue was already fixed before but when testing I noticed that this could be improved a bit)
Sponsor company
How to test? On mobile view click on the search icon to get the offcanvas search to show, the focus should be on the input field and if a mobile phone is used the keyboard is shown. If input field contains text when closing the view then reopening the view should have the old search cleared and the focus again for a new search.

this replaces pr #796 . trying to rebase that thing was a nightmare

@github-project-automation github-project-automation Bot moved this to Ready for review in PR Dashboard Nov 10, 2025
@ga-devfront ga-devfront added the Mobile Affects mobile layouts. label Nov 17, 2025
@tblivet tblivet added the Deferred It requires more time, context, or resources before it can be addressed. label Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Deferred It requires more time, context, or resources before it can be addressed. Mobile Affects mobile layouts.

Projects

Status: Ready for review

Development

Successfully merging this pull request may close these issues.

4 participants