Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 444 Bytes

2021-09-10-less-strict-requirement-of-js-search-toggle-btn-in-storefront.md

File metadata and controls

9 lines (9 loc) · 444 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Allow removal of .js-search-toggle-btn without exception in storefront
issue: NEXT-17332
author: Joshua Behrens
author_email: codde@joshua-behrens.de
author_github: @JoshuaBehrens
---

Storefront

  • Changed SearchWidgetPlugin in src/Storefront/Resources/app/storefront/src/plugin/header/search-widget.plugin.js to disable autofocus on mobile, when options.searchWidgetCollapseButtonSelector can't be found instead of crashing.