-
Notifications
You must be signed in to change notification settings - Fork 166
[terra-list] Fixed focus issue when clicked on selectable item in draggable list item example #4054
Conversation
This change should be at the component level not in an example |
899c36b
to
17da97f
Compare
fb4a527
to
27aa1ed
Compare
Updated. |
packages/terra-list/CHANGELOG.md
Outdated
@@ -2,6 +2,9 @@ | |||
|
|||
## Unreleased | |||
|
|||
* Fixed | |||
* Fixed the issue where focus was not moving to the selected item when clicked in the draggable list item example. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Fixed the issue where focus was not moving to the selected item when clicked in the draggable list item example. | |
* Fixed the issue where focus was not moving to the selectable and draggable item when clicked. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated 2b1b080
@@ -2,6 +2,9 @@ | |||
|
|||
## Unreleased | |||
|
|||
* Added | |||
* Added new test example for `terra-list`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Added new test example for `terra-list`. | |
* Added new test example for draggable list items in `terra-list`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated f0b498d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is existing example for draggable list item :https://github.com/cerner/terra-core/blob/main/packages/terra-core-docs/src/terra-dev-site/test/list/DraggableListItem.test.jsx
This can be used to test the change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated 2b1b080
268ee68
to
2b1b080
Compare
15f95b0
to
f0b498d
Compare
Summary
Previously, when clicking on a selectable list item in the draggable list item example, the focus was not moving to the clicked item. With this fix, the issue has been resolved, and now we are able to focus on the selected item.
What was changed:
Fixed the issue where focus is not moving to the selected item when clicked.
Why it was changed:
Testing
This change was tested using:
Reviews
In addition to engineering reviews, this PR needs:
Additional Details
This PR resolves:
UXPLATFORM-10247
Thank you for contributing to Terra.
@cerner/terra