Selection issue for only Spaces in Treen node name
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
Originally by vinodvaadin
Hi Team,
Just having spaces in the tree node name, does not allow selection of such a tree node.
The issue is seen when a tree node having a regular name is renamed to a name that only has spaces e.g - " ". Once tree node has only spaces, it does not get selected.
Below is a sample example of a Tree where root is "Book" and its children are "Novel", "Fiction", "Animation", and "Games"
Book
- "Novel"
- "Fiction"
- "Animation"
- "Games"
Over here if we rename the 2nd children "Fiction" to " ". Selection on the 2nd node does not work.
Book
- "Novel"
- " "
- "Animation"
- "Games"
Imported from https://dev.vaadin.com/ issue #20430
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by renaming a tree node to a value containing only spaces, then attempting to select it. Trace the tree node rename and selection entry points; done means a whitespace-only node can be selected consistently, matching nodes with regular names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100