LearnNewsExamplesServices
Frontmatter
id5212
titleselection.Model: select() should only optionally set the focus
stateClosed
labels
enhancementstale
assignees[]
createdAtFeb 9, 2024, 4:15 PM
updatedAtSep 12, 2024, 4:28 AM
githubUrlhttps://github.com/neomjs/neo/issues/5212
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 12, 2024, 4:28 AM

selection.Model: select() should only optionally set the focus

Closed v8.1.0 enhancementstale
tobiu
tobiu commented on Feb 9, 2024, 4:15 PM

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 focusOnSelect makes sense.

@mxmrtns

tobiu added the enhancement label on Feb 9, 2024, 4:15 PM