Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

Fix #8202: Dropdown & MultiSelect prevent option focus on reopen when autoOptionFocus is false#8203

Merged
melloware merged 1 commit into
primefaces:masterfrom
sergiomendi:sergiomendi-fix-autooptionfocus-reopen
Aug 7, 2025
Merged

Fix #8202: Dropdown & MultiSelect prevent option focus on reopen when autoOptionFocus is false#8203
melloware merged 1 commit into
primefaces:masterfrom
sergiomendi:sergiomendi-fix-autooptionfocus-reopen

Conversation

@sergiomendi

@sergiomendi sergiomendi commented Aug 7, 2025

Copy link
Copy Markdown
Contributor

Defect Fixes

This PR fixes an issue in Dropdown and MultiSelect where an option receives focus after reopening the panel, even when autoOptionFocus={false}

Fix #8202.

Feature Requests

Due to company policy, we are unable to accept feature request PRs with significant changes as such cases has to be implemented by our team following our own processes.
Smaller scaled feature implementations such as adding a property to a component will be considered for merging.

@melloware melloware merged commit 6483ced into primefaces:master Aug 7, 2025
4 checks passed
mertsincan added a commit that referenced this pull request Aug 14, 2025
mertsincan added a commit that referenced this pull request Aug 14, 2025
@mertsincan

Copy link
Copy Markdown
Member

This PR breaks the current default behavior. autoOptionFocus is meant to decide whether to focus when there’s no selected item. Otherwise, the selected item should always be automatically focused.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dropdown & MultiSelect: autoOptionFocus={false} is ignored when reopening panel

3 participants