ui.bootstrap.contextMenu icon indicating copy to clipboard operation
ui.bootstrap.contextMenu copied to clipboard

prevent nested menu from obscuring parent when user clicks towards right edge of window

Open dwightkelly opened this issue 7 years ago • 4 comments

fix for issue #143

dwightkelly avatar Aug 09 '18 17:08 dwightkelly

hi @dwightkelly, thanks for your contrib. Not able to test this immediately, but before I merge it in, could you please post a screenshot of what it looks like with this change?

josetaira avatar Aug 11 '18 08:08 josetaira

normal "right" mode screen shot 2018-08-13 at 3 15 27 pm

overlapped if child menu would render off right edge of window screen shot 2018-08-13 at 3 15 41 pm

dwightkelly avatar Aug 13 '18 19:08 dwightkelly

This doesn't work for menus that have more than 2 levels.

image

Note how the right of the image is the edge of the screen. Will look at fixing this now, but feel free to validate too.

AlexConnolly avatar Oct 10 '18 15:10 AlexConnolly

I'm using orientation left right now to resolve my issue. I guess in this circumstance, for me, it was easier to use orientation left. I couldn't find any documentation for this, though, so it would be nice to maybe be pointed in the direction or I will happily write some.

AlexConnolly avatar Oct 10 '18 15:10 AlexConnolly