tdesign-react icon indicating copy to clipboard operation
tdesign-react copied to clipboard

[Notification] 组件跟Message的offset的表现不一致,是有意设计成这样么?

Open szqyqxgs opened this issue 1 year ago • 4 comments

tdesign-react 版本

0.40.6

重现链接

No response

重现步骤

200

100

Message组件多个弹框间自带间距,offset是设置全局距离顶部。感觉这样很合理!

而Notification组件多个弹框间默认没有间距,offset是设置每个弹框间的距离,是有意设计成这样的么?还是说这是个bug?

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

szqyqxgs avatar Sep 07 '22 07:09 szqyqxgs

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

github-actions[bot] avatar Sep 07 '22 07:09 github-actions[bot]

♥️ 有劳 @yorickili @kenzyyang 尽快确认问题。 确认有效后将下一步计划和可能需要的时间回复给 @szqyqxgs 。

github-actions[bot] avatar Sep 07 '22 07:09 github-actions[bot]

所有组件的 offset 都是相对于 placement 位置的偏移。如果不是,就是缺陷,需要改正

chaishi avatar Sep 07 '22 07:09 chaishi

这里应该要保持和message一致的效果 @kenzyyang 看下

honkinglin avatar Sep 13 '22 06:09 honkinglin

0.42.0 fixed

honkinglin avatar Oct 11 '22 03:10 honkinglin