Skip to content

[dialog] Escape shouldn't trigger until IME is settled #699

@oliviertassinari

Description

@oliviertassinari

Steps to reproduce

Steps:

  1. Open https://master--base-ui.netlify.app/react/components/dialog#close-confirmation
  2. Start typing into the input. Start a composite word. Press Escape to cancel it.

Current behavior

It closes the modal

Japanese:

Screen.Recording.2024-10-02.at.00.26.33.mov

French:

Screen.Recording.2024-10-02.at.00.26.13.mov

Expected behavior

It only closes the composite selector. https://mui.com/base-ui/react-modal/#component

Screen.Recording.2024-10-02.at.00.31.32.mov

Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: dialogChanges related to the dialog component.type: regressionA bug, but worse, it used to behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions