Search: Instant Search cannot be opened via filter class anymore #23091
Labels
[Feature] Search
For all things related to Search
[Package] Search
Contains core Search functionality for Jetpack and Search plugins
[Plugin] Jetpack
Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/
[Pri] High
[Type] Bug
When a feature is broken and / or not performing as intended
Impacted plugin
Jetpack
Steps to Reproduce
Using latest version
Enable Jetpack search on a website and add the link to open the modal as documented in https://jetpack.com/support/search/install-search-on-your-site/
A clear and concise description of what you expected to happen.
When clicking a link with the
jetpack-search-filter__link
class, the modal should be revealedWhat actually happened
Nothing, but if you inspect the page you will see that is being triggered (both body and link attributes change, but instantly revert back to the current values).
If you look through the event listeners applied to the link, you will see there are 2.
One on the link and one on the window. If you remove the event handler on the window itself, it will reveal and work as expected.
Other information
After a brief chat with George Stephanis and Jeremy Herve, we concluded it's a bug in the current build as this can be seen on other sites we look after.
Operating System
Linux
OS Version
POP_OS 21.04
Browser
Chrome/Chromium, Firefox
Browser Version(s)
any
The text was updated successfully, but these errors were encountered: