Add-button: List: Fix grid behaviour when expandable nested list closed
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.
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.
:tada: This PR is included in version 3.27.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket: