Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-list] Fixed focus issue when clicked on selectable item in draggable list item example #4054

Merged
merged 8 commits into from
Mar 8, 2024

Conversation

KV106606Viswanath
Copy link
Contributor

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:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details

This PR resolves:

UXPLATFORM-10247


Thank you for contributing to Terra.
@cerner/terra

@KV106606Viswanath KV106606Viswanath requested a review from a team as a code owner March 5, 2024 11:50
@github-actions github-actions bot temporarily deployed to preview-pr-4054 March 5, 2024 11:51 Destroyed
@KV106606Viswanath KV106606Viswanath self-assigned this Mar 5, 2024
@github-actions github-actions bot temporarily deployed to preview-pr-4054 March 6, 2024 04:28 Destroyed
@saket2403
Copy link
Contributor

This change should be at the component level not in an example

@KV106606Viswanath KV106606Viswanath force-pushed the KV106606-terra-list-focus-defect branch from 899c36b to 17da97f Compare March 7, 2024 10:31
@github-actions github-actions bot temporarily deployed to preview-pr-4054 March 7, 2024 10:37 Destroyed
@KV106606Viswanath KV106606Viswanath force-pushed the KV106606-terra-list-focus-defect branch from fb4a527 to 27aa1ed Compare March 7, 2024 10:52
@github-actions github-actions bot temporarily deployed to preview-pr-4054 March 7, 2024 10:53 Destroyed
@KV106606Viswanath
Copy link
Contributor Author

This change should be at the component level not in an example

Updated.

@@ -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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* 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.

Copy link
Contributor Author

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`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Added new test example for `terra-list`.
* Added new test example for draggable list items in `terra-list`.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated f0b498d

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated 2b1b080

@github-actions github-actions bot temporarily deployed to preview-pr-4054 March 8, 2024 09:09 Destroyed
@KV106606Viswanath KV106606Viswanath force-pushed the KV106606-terra-list-focus-defect branch from 268ee68 to 2b1b080 Compare March 8, 2024 09:24
@github-actions github-actions bot temporarily deployed to preview-pr-4054 March 8, 2024 09:24 Destroyed
@github-actions github-actions bot temporarily deployed to preview-pr-4054 March 8, 2024 09:59 Destroyed
@KV106606Viswanath KV106606Viswanath force-pushed the KV106606-terra-list-focus-defect branch from 15f95b0 to f0b498d Compare March 8, 2024 10:11
@github-actions github-actions bot temporarily deployed to preview-pr-4054 March 8, 2024 10:12 Destroyed
@saket2403 saket2403 merged commit 6c8c716 into main Mar 8, 2024
22 checks passed
@saket2403 saket2403 deleted the KV106606-terra-list-focus-defect branch March 8, 2024 11:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants