We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firstly, is this a bug or feature? - code appears to be written intentionally
When combobox & search (which uses combobox) blurs, the old options are shown temporarily.
options
There are 2 sources of truths for displayed options:
local.options
lastDisplayedOptions
But this leads to janky behaviour as the popover content closes - especially on animation.
Slow down css animation to see the jank
Close without content changing:
Location of code behaviour combobox-base.tsx:
const displayedOptions = createMemo(() => { if (disclosureState.isOpen()) { if (showAllOptions()) { return local.options!; } return filteredOptions(); } return lastDisplayedOptions(); });
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Firstly, is this a bug or feature? - code appears to be written intentionally
Describe the bug
When combobox & search (which uses combobox) blurs, the old
options
are shown temporarily.There are 2 sources of truths for displayed
options
:local.options
provided through propslastDisplayedOptions
used internally to "Prevents the popover contents from updating as the combobox closes"But this leads to janky behaviour as the popover content closes - especially on animation.
To Reproduce
Slow down css animation to see the jank
unexpected.mp4
Expected behavior
Close without content changing:
expected.mp4
Additional context
Location of code behaviour combobox-base.tsx:
The text was updated successfully, but these errors were encountered: