Skip to content

[t-dialog] 如果内部有 t-select ,ESC 键会关闭 Dialog 而不是关闭 t-select #3818

@starxg

Description

@starxg

tdesign-vue 版本

1.18.5

重现链接

https://codesandbox.io/p/sandbox/rvmnqc

重现步骤

官方的 T-Dialog 的第二个示例就可以复现:https://tdesign.tencent.com/vue-next/components/dialog

打开 Dialog 后,点击:“10 条/页” 然后 按 “ESC“ 键

期望结果

希望在打开 Dialog 后,如果 t-select 已经展开,那么按下 ESC 键后关闭 t-select 展开而不是关闭 Dialog

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions