QPopupProxy should be used when you need either a QMenu (on bigger screens) or a QDialog (on smaller screens) to be displayed. It acts as a proxy which picks either of the two components to use. QPopupProxy also handles context-menus.
Usage
TIP
Use your browsers development tools to toggle the device between mobile or desktop (with browser refresh after each change) or, physically resize your browser’s window to watch the QPopupProxy component switch between either a QMenu or a QDialog before clicking/tapping on its container. The default breakpoint is set at 450px.
Standard
Context menu
Breakpoint
On the example below, click on the icon in the input.
Pass-through props
Keep in mind that all props from both QMenu and QDialog are passed through via this component. So props like offset
or transition-show
(as a mere example) can be used in conjunction with QPopupProxy.