-
Notifications
You must be signed in to change notification settings - Fork 40
DropDown List Jerkiness/Jumps #1506
Copy link
Copy link
Open
Labels
discuss in dev meetingPull requests that should be discussed in the dev meeting on tuesdaysPull requests that should be discussed in the dev meeting on tuesdayshelp wantedExtra attention is neededExtra attention is neededtype:bugSomething isn't workingSomething isn't workingtype:usabilityImproves the UXImproves the UX
Description
Actual Behaviour:
Dropdown menu repopulates, scroll position resets to top, causing jerkiness/jumps.
Expected Behaviour:
Open menu retains scroll position during background refreshes.
Steps to Reproduce (eg for Workflow DropDown):
- Open event upload or bulk action dialog.
- Open workflow dropdown (effect is stronger with long lists).
- Scroll down in the open dropdown.
- Wait for Admin UI table polling refresh (default 5'')
Screen.Recording.2026-02-06.at.12.57.32.mp4
—
Possible Cause:
DropDown component uses AsyncSelect for static options; defaultOptions and loadOptions create new references on every parent render, triggering menu reload.
Suggested Fix:
Use synchronous Select for local options (!fetchOptions), memoize formatted options with useMemo, stabilize loadOptions with useCallback.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
discuss in dev meetingPull requests that should be discussed in the dev meeting on tuesdaysPull requests that should be discussed in the dev meeting on tuesdayshelp wantedExtra attention is neededExtra attention is neededtype:bugSomething isn't workingSomething isn't workingtype:usabilityImproves the UXImproves the UX