bpmn-io / properties-panel

Library for creating bpmn-io properties panels.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FEEL popup menu should be a drag trap

nikku opened this issue · comments

Is your feature request related to a problem? Please describe.

As I'm integrating the FEEL popup menu inside my application I want to safely do so, handle events that I require to handle, and don't interfere with existing application logic. To accomplish this it must act as a focus, click, and keyboard trap, but also a drag trap.

This allows us to safely integrate the menu, and not cause quirks:

capture Rfj2MQ_optimized

Describe the solution you'd like

As an outside application I want to either (1) not know about popup menu drag events or (2) understand that these have already been handled, so that I don't invoke my own drag (and drop) logic.

Describe alternatives you've considered

The application may know that the menu exists, and workaround it somehow. However we'd need to create these workarounds in all applications.

Additional context

Raised in the context of camunda/camunda-modeler#3877, https://github.com/camunda/web-modeler/issues/5892.