1 Attachment(s)
StoreMenu renders off-screen on first load
Hi there. Have been using this excellent extension for a while, but come across a small issue with it.
I'm using it as a dynamic context menu in a Ext grid and Ext Tree. When the menu (or a storemenu sub-menu) is loaded for the first time and the XY coordinates clicked are near the bottom or right of the viewport/screen the menu gets cropped (see screenshot).
If you click-out of the menu/submenu and then reload it the menu is then positioned correctly within the bounds of the viewport/screen. This happens whether the menu is set to auto-reload or not.
I'm guessing that Ext is trying to reposition the menu before it is fully loaded or something like that.
Any ideas?