-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dialog] 非模态对话框 显示不够直观 #1452
Comments
👋 @ali-pay,感谢给 TDesign 提出了 issue。 |
ok 我会尽快处理 |
@ali-pay 这里确认了一下 确实存在这个问题,modelss非模态对话框模式下 我的问题是:这个原因是因为拖拽功能绑定鼠标按下事件,所以无法复制弹窗文字。 麻烦确认一下理解是否正确 |
是的,修改鼠标的样式,感觉上更能体现这是个可以拖动的组件 |
这个功能解决了什么问题
加入阴影
没有阴影的:
有阴影的:
你建议的方案是什么
建议 非模态对话框 加入 box-shadow、cursor:move 样式,或修改为类似 Card 的可配置属性;
可能需要再加入 user-select:none ,因为现在可以拖拽的对话框已经不能复制了,但是鼠标放在文字上还是会可以选中文字,类似这样:

The text was updated successfully, but these errors were encountered: