RocketCommunicationsInc / astro

Astro UXDS is a collection of guidelines, patterns and components for designing space-based user interface applications.
https://astrouxds.com
Other
113 stars 25 forks source link

Rux-Tree-Node (React): Cannot Reach Rux-Button Click Event Inside Rux-Tree-Node #1194

Closed FMorrison87 closed 1 year ago

FMorrison87 commented 1 year ago

Describe the bug This issue appears to be React specific, as a sandbox of this issue in regular JS did not produce the bug.

When using a rux-tree-node that has child nodes marked with slot node, if you put a rux-button into the content of that parent node you cannot reach the button's click event. This issue persists even when attempting to stop propagation on the parent tree node.

Issue reproduced in sandbox: https://codesandbox.io/p/sandbox/optimistic-matan-sq6sz7?file=%2Fsrc%2FApp.tsx%3A15%2C36