1.4.4 Filter demo - Filter select doesn't filter #7744

Closed
Ruffio opened this Issue Oct 6, 2014 · 6 comments

Projects

None yet

2 participants

@Ruffio
Ruffio commented Oct 6, 2014

Go to http://demos.jquerymobile.com/1.4.4/filterable/

Find Filter Select and type in something. None of the selects are filtered away.

Tested on Nexus 7 Chrome.

@gabrielschulhof
Contributor

Chrome desktop emulation of Nexus 7 reproduces this issue to some extent. I mean, it does filter, but the last option cannot be hidden.

Scenarios:

  1. Type "d". It shows both options D and J.
  2. Type "a". It shows both options A and J.
  3. Type "ab". It shows only option J.

It's as though the last option cannot be hidden.

@gabrielschulhof gabrielschulhof added this to the 1.4.5 milestone Oct 6, 2014
@gabrielschulhof gabrielschulhof self-assigned this Oct 6, 2014
@gabrielschulhof
Contributor

OK, I've reproduced it fully on Browserstack, on an emulation of a Samsung Galaxy Note II running Android 4.1.

@gabrielschulhof
Contributor

AFAICT the spec says nothing about whether <option> elements with display: none are to be shown when the user opens the <select> or not. This means that there may be inconsistency among browsers.

@gabrielschulhof
Contributor

OK, this doesn't work on IE8 either. Maybe we should remove this demo.

@gabrielschulhof
Contributor

... nor on any other IE.

@gabrielschulhof
Contributor

I guess we cannot claim that the widget filters a select.

@agcolom agcolom added a commit to agcolom/jquery-mobile that referenced this issue Nov 26, 2014
@gabrielschulhof @agcolom gabrielschulhof + agcolom Filterable: <select> filtering does not work on all platforms
Closes gh-7747
Fixes gh-7744
79e5456
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment