Skip to content

[Bug]: [Datepicker] Tab navigation in Datepicker in readOnly mode renders an unwanted blank dialog #21152

@2nikhiltom

Description

@2nikhiltom

Package

@carbon/react

Browser

No response

Package version

v11.1.97

React version

v19

Description

when the DatePicker with a Calendar is in read-only mode, tabbing into it and then pressing Tab again opens a blank

DatePicker.mov
Image

Reproduction/example

https://react.carbondesignsystem.com/?path=/story/components-datepicker--single-with-calendar&args=readOnly:!true;disabled:!false).

Steps to reproduce

Open Datepicker in readonly mode
Navigate via key navigation
a blank dialog open when you Tab away from Datepicker

Suggested Severity

None

Application/PAL

No response

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    Severity

    None yet

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions