diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2023-05-10 10:55:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-10 10:55:01 +0200 |
commit | 020828e7ffd5e7830d979b4c5cf8412f04223973 (patch) | |
tree | 323d777eaabdabbdce36008926817275df7d9a8b /ui/position.js | |
parent | beeb410ccbe1c4108ee93bdbdc05e003f115baf6 (diff) | |
download | jquery-ui-020828e7ffd5e7830d979b4c5cf8412f04223973.tar.gz jquery-ui-020828e7ffd5e7830d979b4c5cf8412f04223973.zip |
Selectmenu: Fix selecting options following hidden ones
Change a2b25ef6caae3e1a272214839b815a6387618124 made options with
the `hidden` attribute skipped when rendering. However, that makes
indexes misaligned with native options as hidden ones maintain their
index values. Instead, don't skip hidden options but add the `hidden`
attribute to the respective jQuery UI elements as well.
Fixes gh-2082
Closes gh-2144
Ref a2b25ef6caae3e1a272214839b815a6387618124
Diffstat (limited to 'ui/position.js')
0 files changed, 0 insertions, 0 deletions