tui.grid icon indicating copy to clipboard operation
tui.grid copied to clipboard

Context menu goes out of viewport

Open durga598 opened this issue 3 years ago • 2 comments

Describe the bug Context menu goes out of viewport, if the parent container is set with margin-left or padding-left.

To Reproduce Steps to reproduce the behavior:

  1. Set some padding-left or margin-left to the grid container.
  2. Open context menu, if sub-menu is there it goes out of viewport.

Expected behavior It should reverse the position of sub-menu.

Screenshots

Here is the demo app stating the issue. codesandbox-demo

durga598 avatar Jun 03 '22 07:06 durga598

@durga598 Thanks for reporting a bug. I'll fix it!

jajugoguma avatar Jun 08 '22 02:06 jajugoguma

Hi @jajugoguma, In new version @4.21.3, the context menu goes out of viewport, can you please check this as well. Thanks.

image

durga598 avatar Jul 18 '22 04:07 durga598