You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
Create a table
Ensure have a column which has a link or a button which can show a pop over
Add a ConfigProvider to ensure popover scrolls with the rows
Toggle the Ellipsis prop for column and see how the pop over width and position is affected. The popover is actually getting rendered inside the column.
In some cases when there is not enough space to render pop over in its present direction, the direction changes but the popover arrow still points to the original direction not the new one
Toggle the placement prop for popover, if you don't add it we notice the popover width is correct. Adding it somehow limits the width and sometimes also changes the popover direction
Popover randomly changes direction showing a flick affect on screen. If first shows at one position and then switches quickly and shows at another making it appear like a glitch
What is expected?
Playing with ellipsis prop in table or placement in popover, should not affected the popover so dramatically.
Pop over arrow direction should show correctly in accordance with popover direction
Before rendering pop over, if it is determined that the space may not be enough and the popover has to instead show up in a new place, do not render it twice. It shows popover at one place and then flicking to another.
Pop over width should not change if placement prop is provided
What is actually happening?
Playing with ellipsis prop in table or placement in popover, affects the popover. Ellipsis prop for table makes popover render inside the column, specially when it has a ConfigProvider
Pop over arrow direction changes randomly sometimes, if popover direction changes
When changes direction, pop over seems to render twice in some cases and so makes it appear like a glitch or flicker affect
Pop over should width change in some cases if placement prop is provided
Environment
Info
antd
4.2.2
React
16.13
System
Mac OSX
Browser
Safari 13.1, Chrome 80.0
The text was updated successfully, but these errors were encountered:
For expect.1, it's by design. Table ellipsis use html native ability which makes container as overflow:hidden. So if config getPopupContainer to parentNode, it cut as expect.
For placement dynamic change arrow not switch is a bug. I will take a look.
Reproduction link
Steps to reproduce
ConfigProvider
to ensure popover scrolls with the rowsEllipsis
prop for column and see how the pop over width and position is affected. The popover is actually getting rendered inside the column.placement
prop for popover, if you don't add it we notice the popover width is correct. Adding it somehow limits the width and sometimes also changes the popover directionWhat is expected?
ellipsis
prop in table orplacement
in popover, should not affected the popover so dramatically.What is actually happening?
ellipsis
prop in table orplacement
in popover, affects the popover.Ellipsis
prop for table makes popover render inside the column, specially when it has aConfigProvider
The text was updated successfully, but these errors were encountered: