Doubleclicking Matrix block dropdown can cause dropdown to get stuck
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
Description
In at least both Chrome (88) and Safari - while creating/editing an entry, if you doubleclick on the dropdown for selecting which matrix block to add fast enough, the dropdown can get into a bad state so that, when you click it again, it immediately opens and closes. The 'fix' is to click anywhere off the dropdown button (and then the dropdown will open) and you'll be back into a normal state.
Additional info
- Craft version: 3.5.17.1 and 3.6.1
- PHP version: 7.3.11
- Database driver & version: MySQL 5.5.5
- Plugins & versions: can duplicate without any plugins enabled
Contributor 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.
Research direction
Reproduce the issue while creating or editing an entry, using the Matrix block-selection dropdown and the reported Chrome or Safari versions. Trace the dropdown behavior from the entry editor and identify where a rapid double-click leaves it stuck. Done means repeated opening and closing works normally without clicking elsewhere first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100