AdvancedCustomFields / AdvancedCustomFields/acf
select2 moves selected options to bottom, but does not restore position after unselect
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
The select2 control used by ACF moves the selected option to the bottom of the list, which I think makes perfect sense.
However, when deselecting the option again, it remains at the bottom.
In the animation above it's not that bad, but for large hierachical lists (like taxonomies), it would drastically improve UX if the position of the element was restored after deselecting it.
Contributor guide
No contributing guide indexed for this repository
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
Start by locating ACF's Select2 integration and reproduce the behavior with a large hierarchical taxonomy list. The issue names no file or test; done means a deselected option returns to its previous position instead of remaining at the bottom.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100