Frontmatter
| id | 5212 |
| title | selection.Model: select() should only optionally set the focus |
| state | Closed |
| labels | enhancementstale |
| assignees | [] |
| createdAt | Feb 9, 2024, 4:15 PM |
| updatedAt | Sep 12, 2024, 4:28 AM |
| githubUrl | https://github.com/neomjs/neo/issues/5212 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 12, 2024, 4:28 AM |
Especially in case we want to programmatically select an item, changing the focus can be problematic.
Example: we click on a next button (apps/form) which selects a new item inside the related side nav list. Moving the focus inside the side nav at this point is not the desired UX.
However: some components (e.g. gallery & helix) still want to (and should) do it.
So, a new config like
focusOnSelectmakes sense.@mxmrtns