Smile-SA / elasticsuite

Smile ElasticSuite - Magento 2 merchandising and search engine built on ElasticSearch
https://elasticsuite.io
Open Software License 3.0
763 stars 342 forks source link

I cannot navigate to product page in quick search (autocomplete). Page is reloaded instead. #403

Closed ghost closed 7 years ago

ghost commented 7 years ago

Preconditions

Magento Version : 2.1.3

ElasticSuite Version : 2.3.0

Environment : both

Third party modules : Venustheme Brand Carousel, Payone

Steps to reproduce

  1. Insert query inside quick search input
  2. Navigate with keyboard to product result
  3. Press Enter

Expected result

  1. Page with selected product is loaded

Actual result

  1. Current page is reloaded

In module-elasticsuite-core/view/frontend/web/js/form-mini.js in method _onKeyDown there is no event passed into _validateElement method

romainruaud commented 7 years ago

Confirmed.

I proposed the PR #405 to fix this one.

afoucret commented 7 years ago

Merged into 2.3.x, master and 2.4.x