ant-design
ant-design copied to clipboard
Popconfirm 在某些情况下 autoAdjustOverflow 的箭头位置显示错误
Reproduction link
Steps to reproduce
设置 Popconfirm 的 placement="topRight",并保证左上角没有足够的显示位置。其它 placement 未详细测试,估计也有此类问题!
What is expected?
箭头显示在正确位置
What is actually happening?
箭头显示在错误位置
| Environment | Info |
|---|---|
| antd | 5.18.0 |
| React | 18 |
| System | WIN11 |
| Browser | Chrome |
好像是顶部空间不够导致的自适应下来的
是这个classname添加的不对吧,添加成ant-popover-placement-bottomLeft应该就是好的。本来想提个pr找了一圈没找到
这个是动态加上去的 顶部空间不够就会使用别的 placement,剪头也需要跟着变但是没变
Seems to be placement problem, I will try to fix this issue.
这个问题我也遇到了,fix好像还没merge
问题依旧存在