neo icon indicating copy to clipboard operation
neo copied to clipboard

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

Open tobiu opened this issue 1 year ago • 0 comments

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 avatar Feb 09 '24 15:02 tobiu