frontend-collective / frontend-collective/react-sortable-tree
Modifying the Title Node
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 914
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I am trying to edit a particular node in RST. This is done by 'Edit Title' button click on the context menu. I followed - https://frontend-collective.github.io/react-sortable-tree/storybook/?selectedKind=Basics&selectedStory=Modify%20nodes&full=0&addons=0&stories=1&panelRight=0 and am able to edit the node successfully. My issue is, I need to revert the node I am editing to look like rest of the nodes (i.e. remove input tag) on "focus out". The input tag remains once the node is modified.
It would be great, if anyone can guide on this! Thanks!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Storybook "Basics / Modify nodes" example linked in the issue and reproduce editing a title through the context menu's "Edit Title" action. Trace what happens when focus leaves the input; done means the edited node no longer retains the input element and renders like the other nodes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100