tabulator icon indicating copy to clipboard operation
tabulator copied to clipboard

cell click menu position

Open jaguarxii opened this issue 1 year ago • 0 comments

Describe the bug When the content of a menu item is wider than the width of the screen, the menu displays right-aligned to the click position, making it unusable.

Tabulator Info

  • 5.5.0

Working Example cell click menu position sample

To Reproduce A step by step guide to recreate the issue in your JS Fiddle or Codepen:

  1. Go to the link provided
  2. Open developer tools and select "Device emulation"
  3. Click on row on the "burger" to show the menu
  4. The menu aligns to the right of the clicked position
  5. The menu also changes its width

Expected behavior I was expecting the menu could still show "left-aligned" so it was possible to read the begining of each option

perhaps is it possible to have options to align the menu or even have the text clipped?

Screenshots image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome (latest), Waterfox (latest)

Smartphone (please complete the following information):

  • Device: OnePlus 6t
  • OS: Android 11
  • Browser: Chrome (latest)

jaguarxii avatar May 22 '23 13:05 jaguarxii