react-contexify icon indicating copy to clipboard operation
react-contexify copied to clipboard

Menu overflows out of screen

Open ricardojrgpimentel opened this issue 5 years ago • 4 comments

Do you want to request a feature or report a bug? Bug What is the current behavior? When the trigger to open the menu is performed,. while the menu is already being displayed, by clicking in the same area, the menu overflows out of screen

https://user-images.githubusercontent.com/12200109/103914249-71bd9880-5101-11eb-83c0-4dcb70772e4b.mp4

ricardojrgpimentel avatar Jan 07 '21 16:01 ricardojrgpimentel

Same issue, it's appeared when configured animation option for <Menu> tag

https://user-images.githubusercontent.com/1899626/106203402-fdd45480-61c3-11eb-9ec4-c0ae46f1d0bf.mp4

elartix avatar Jan 28 '21 18:01 elartix

I'm getting the same issue. Debugging the source code and I see that when the menu is already visible it just takes clientX and clientY from mouse event and sets it as position for the fixed element. When its not shown takes same data, but it also checks boundaries and recalculates if given x and y gets it out of bounds.

JelianRadoev avatar May 25 '21 13:05 JelianRadoev

Same issue here

geroale avatar Jul 07 '22 07:07 geroale

I just screen captured this and was going to open a new issue :trollface: Well, I have the same issue here.

ShahriarKh avatar Jul 13 '22 18:07 ShahriarKh

I am having this issue. I am using version 6.0.0 of the library. Any idea what could be happening or what can I do? @fkhadra image

JuanmaMenendez avatar Jul 20 '23 20:07 JuanmaMenendez