clarkmcc / ngraph

A blender-style node editor for React, built on xyflow
https://ngraph.clarkmccauley.com
MIT License
50 stars 3 forks source link

Attempt to have clicking on InputGroup set focus like a single Input would #31

Open sroussey opened 9 months ago

sroussey commented 9 months ago

But this doesn't actually work. Any ideas?

clarkmcc commented 9 months ago

To make sure I understand, you want expanding the input group to focus the first input?

sroussey commented 9 months ago

No, just trying to focus the node.

Any other click inside the node will focus it except here

clarkmcc commented 9 months ago

Ah, I think I found the problem. The solution will depend on using some of the state functions you introduced in #38 though so I'll get a solution for this once that has been merged.