Posted 19 December 2021, 6:54 am EST - Updated 3 October 2022, 9:23 am EST
Hello,
I use spreadJS inside a container that has “overflow: hidden” and when right clicking on a cell that is at the edge of the spread container I get the following behavior:
- The context menu itself doesn’t go out of the container as expected.
- When opening a sub menu inside the context menu it gets out of the container and cuts off (because of the “overflow: hidden” I have on the container).
Is there something I can currently do in order to limit the context menu’s sub menu to stay inside the container?
Pay attention that when the spreadsheet container is placed on the edge of the it does work and the sub menu gets open on the other side so it won’t overflow the . I want the same thing, but with the container itself.
Attached an example of the problem using one of your demos. I just added “overflow: hidden” to the container and that’s the result:
