Skip to content

Conversation

crissanclick
Copy link
Contributor

@crissanclick crissanclick commented Oct 5, 2017

Description

Can't close mobile search bar when using Luma Theme

Fixed Issues (if relevant)

  1. Can't close mobile search bar once typed #11231: Can't close mobile search bar once typed

Steps to reproduce

  1. Load the homepage on a mobile device
  2. Tap on the search icon to access the search input
  3. Start typing (but do not submit)
  4. Now tap on the search icon again to close the search bar

Manual testing scenarios

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@@ -88,7 +88,7 @@ define([
}

setTimeout($.proxy(function () {
if (this.autoComplete.is(':hidden')) {
if (this.autoComplete.css('display', 'none')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this line will change display to "none", that is not expected there

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you are right, I'll still working it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants