reachtokish / rctx-contextmenu

:bowtie: :sparkles: Context menu for React
https://reachtokish.github.io/rctx-contextmenu/
67 stars 15 forks source link

Bug with positioning #32

Open kotoyama opened 2 years ago

kotoyama commented 2 years ago

Just go to live demo page and click on the bottom of any card (Basic example section). You'll see that context menu is out of the viewport. This only happens if your scroll position is on top.

image
reachtokish commented 1 year ago

Hi @kotoyama , thanks for raising the concern. The position is based on screen size. If there is not much space below the context menu will position at the top itself. It is expected behavior currently

Is your requirement something different? Kindly let me know