retejs / rete

JavaScript framework for visual programming
https://retejs.org
MIT License
10.17k stars 653 forks source link

Simple Nodes Order breaks click event handlers #664

Closed PerryRylance closed 1 year ago

PerryRylance commented 1 year ago

I'm using Rete 2 and the React integration. Can provide MRE if it helps.

I could not get click handlers to fire on my node control's checkboxes, or any other element for that matter.

Commenting out the simple nodes order plugin fixes this, so we are going to have to run without that for a while.

By the way, I'm enormously grateful for this library, version 2 is absolutely smashing, huge props to the developers and community, this is an amazing library!

Ni55aN commented 1 year ago

Are your controls' clickable content wrapped with onPointerDown={(e) => e.stopPropagation()} or <Drag.NoDrag>?

PerryRylance commented 1 year ago

No I hadn't, thank you, missed that in the docs!