Skip to content

Select accepts selection after becoming disabled while open #5231

Open

Description

@Xapollon430

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

Reproduction

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

Recorded against @cloudscape-design/components 3.0.1408. Runnable reproduction includes the required styles and setup.

cloudscape-disabled-repro.mp4

Tested in Chromium on macOS. The application toggles disabled; popup state is managed by the library.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions