patternfly / react-topology

MIT License
10 stars 19 forks source link

Node context menu flip in case it's in the edge of diagram area #120

Open tplevko opened 9 months ago

tplevko commented 9 months ago

Describe the problem There is no option for the node context menu, to configure "flip" in case there is the edge of the diagram area.

How do you reproduce the problem?

  1. Create a diagram with context menus
  2. try to open the context menu at the bottom of the diagram

Expected behavior the context menu should have an option, which in case specified should flip the context menu

Is this issue blocking you? no - can be zoomed out, or moved into view.

Screenshots

Screenshot from 2023-11-24 10-10-18

What is your environment?

What is your product and what release date are you targeting? kaoto-next: https://github.com/KaotoIO/kaoto-next/

jeff-phillips-18 commented 6 months ago

@tplevko This is working fine in the demo app:

image

image

tplevko commented 5 months ago

Thanks @jeff-phillips-18 for the reply.

Could you please point me to the topology demo app? E.g. the context-menu example in PF topology page seems to have the same issue as originaly reported.