Selectmenu changes selection after its native select is disabled while open
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, jquery
- Domain
- frontend
Research direction
Start by locating Selectmenu's handling of a native select becoming disabled while its menu is open, then check the related tests for selection and change events. Reproduce the described sequence in Chrome: open the menu, disable the select, and choose Banana. Done when the selection stays on Apple and no selection or change event is emitted.
Written by the indexing model from the issue text.
Description
Reproduction
Initialize jQuery UI Selectmenu on a native select with Apple selected and Banana available. Open the menu, set the original select's disabled property to true, then click Banana.
The disabled select changes to Banana and Selectmenu emits selection and change events. It should keep Apple after disable.
Reproduced in Chrome using jQuery 4.0.0 against jQuery UI main at dcf1055. Reproduction video
- Dominant language
- JavaScript
- Stars
- 11.3k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jquery/jquery-ui
-
Datepicker changes a natively disabled input if its calendar is openPossibly taken @Xapollon430 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Behavior shared with 1.12 Comp: Datepicker
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Comp: Datepicker Needs info
Difficulty 3/5 1-2 days Newbie friendliness 53/100
-
CSS variable stripped from calls to jQuery .css()Possibly taken A pull request linked to this issue is open or already merged. OpenComp: Effects
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
Needs info
Difficulty 4/5 3-5 days Newbie friendliness 55/100
All issues in jquery/jquery-ui
Similar issues
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
coder/claudecode.nvim#588 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
digitalbazaar/http-client#60 ·
-
Ruby: The link in the Blocks lesson points to an external article that isn't at that address anymoreOpen
Difficulty 1/5 Under an hour Newbie friendliness 84/100
TheOdinProject/curriculum#31529 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
topmonks/hlidac-shopu#3687 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ONLYOFFICE/DocumentServer#3912 · 1 comment ·