Project

General

Profile

WPopupMenu renders outside viewable browser frame

Added by Mark Petryk 22 days ago

I have a rather large pop-up menu. It ~will~ fit within the browser window, but only if I click in the window in an area that is low enough, or high enough for the entire menu to render. If not, some of the items are rendered outside the window frame and I cannot scroll to them.

(see attached)


Replies (1)

RE: WPopupMenu renders outside viewable browser frame - Added by Matthias Van Ceulebroeck 21 days ago

Hello Mark,

currently a couple widgets that can show themselves dynamically (like a WPopupMenu / WDialog / WPopupWidget) use the same functionality to do so. A few basic assumptions are made here, that are not always fitting for their purpose.
Currently we have #13075, being implemented and reviewed, which aims to alleviate that issue, and allow some configuration to avoid such cases.

On the whole, I do think the system as a whole needs some work, but I am not yet quite sure as to how we would go about this. Some ideas on it have been exchanged or proposed, but none are robust enough in my opinion.

Regardless, as mentioned #13075 ought to help with this, and will be released as part of 4.11.4.

Best,
Matthias

    (1-1/1)