table
table copied to clipboard
Improving popover postion
Determine whether the column should be displayed to the right or to the left based on its current position, to prevent it from overflowing the boundaries of the box. The same logic applies to rows.