You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an item is being renamed, the item is rendered as a div. Otherwise, it is rendered as button by default. By manually inserting an input within the item container which renders as button, the button claims all input events, and this will also create invalid semantic structure. You can probably get it to work by adjusting the renderItem method to make the content of the title not being rendered as part of a button element as long as it contains an input.
I want my controlled tree to show the input box in a certain situation and input can be made, but I found that when using the input in renderItemTitle, it can't even focus, here is a simple example, is there any way to solve it?thank you
https://codesandbox.io/p/sandbox/react-complex-tree-playground-memo-demo-forked-9zpsmf
The text was updated successfully, but these errors were encountered: