core icon indicating copy to clipboard operation
core copied to clipboard

Add-button: List: Fix grid behaviour when expandable nested list closed

Open margaree opened this issue 1 year ago • 1 comments

Can be seen here in the add-button demo at the bottom of the page. Tab in, add-button should highlight, press down arrow and focus goes to bottom add button (not expected) and then can't move away from there.

With this change, _getNextFlattenedListItem only returns the nested child when it's actually possible that that should be used for next list item focus. It's possible there are risks with this I'm missing since the logic of this is a bit complex.

margaree avatar Feb 09 '24 21:02 margaree

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://live.d2l.dev/prs/BrightspaceUI/core/pr-4447/

[!NOTE] The build needs to finish before your changes are deployed. Changes to the PR will automatically update the instance.

github-actions[bot] avatar Feb 09 '24 21:02 github-actions[bot]

:tada: This PR is included in version 3.27.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: