-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
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