Skip to content

fix(select): reject selection while disabled - #31688

Open
Xapollon430 wants to merge 1 commit into
ionic-team:mainfrom
Xapollon430:codex/select-disabled-after-open
Open

Xapollon430 wants to merge 1 commit into
ionic-team:mainfrom
Xapollon430:codex/select-disabled-after-open

Conversation

@Xapollon430

Copy link
Copy Markdown

Issue number: resolves #31687

What is the current behavior?

If ion-select becomes disabled while its popup is open, the existing options can still change the selection and fire ionChange. The control should reject user selection once it is disabled.

What is the new behavior?

Reject overlay selections when ion-select is disabled. The shared value-commit path covers alert, popover, and action-sheet interfaces.

Does this introduce a breaking change?

  • No

Other information

Reproduction

  1. Click Disable in 3 seconds, then open the ion-select.
  2. Wait for Disabled: true.
  3. Click Orange. The selection changes from Apple to Orange while the control remains disabled.

Recorded against @ionic/core 9.0.10. Runnable reproduction includes the required styles and setup.

ionic-disabled-repro.mp4

23 Select spec tests pass, including the new regression; the production build and scoped ESLint pass. All three overlay interfaces were reproduced in Chromium. The new regression fails without the fix.

AI-assisted implementation and testing.

Reject user selection after the parent becomes disabled while its menu is open.

Signed-off-by: Vehbi Karaagac <Xapollon430@gmail.com>
@Xapollon430
Xapollon430 requested a review from a team as a code owner November 3, 2026 05:32
@vercel

vercel Bot commented Nov 3, 2026

Copy link
Copy Markdown

@Xapollon430 is attempting to deploy a commit to the Ionic Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the package: core @ionic/core package label Nov 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: ion-select accepts selection after becoming disabled while open

1 participant