Skip to content

[Popup] Disabled picker popups still accept selections #4485

Open

Description

@Xapollon430

tdesign-react 版本

1.18.6 stylesheet with the current develop source at 2bc63e2.

重现步骤

  1. Render a DatePicker with a selected date and a button that sets disabled after two seconds.
  2. Start the timer, click the date input to open its calendar, and wait for the input to become disabled.
  3. Click a different day in the still-open calendar.

The same sequence works in DateRangePicker by selecting two new dates, and in TimePicker by selecting a new hour and confirming it.

期望结果

The popup closes when the component is disabled. The current value stays unchanged and onChange does not fire.

实际结果

The disabled control's popup remains interactive. DatePicker changes November 12 to 16, DateRangePicker changes 12–15 to 16–18, and TimePicker changes 10:00 to 11:00.

DatePicker recording · DateRangePicker recording · TimePicker recording

框架版本

React 18.3.1

浏览器版本

Chrome on macOS

Activity

  1. github-actions commented on Nov 12, 2026

    @github-actions
    Contributor

    👋 @Xapollon430,感谢给 TDesign 提出了 issue。
    请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

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