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

[terra-tabs] Deselection of Tab Issue #2144

Merged
merged 3 commits into from
Apr 25, 2024
Merged

[terra-tabs] Deselection of Tab Issue #2144

merged 3 commits into from
Apr 25, 2024

Conversation

MadanKumarGovindaswamy
Copy link
Contributor

@MadanKumarGovindaswamy MadanKumarGovindaswamy commented Apr 23, 2024

Summary

What was changed:

Replace comparing logic with itemkey.
Ignore if it is a negative left position value

Why it was changed:

This issues are reported when the screen is at 400%.

-- Alignment of menu items is not correct when the more button dropdown is opened.
Menu popup is not completely visible, as the half of the menu overlay is getting clipped off from the viewport.
-- De-selection of Tab.
Tab gets deselected on pressing space. And if user tries to navigate with TAB/SHIFT+TAB key then the focus doesn't go to the "More" dropdown.

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-10370


Thank you for contributing to Terra.
@cerner/terra

@github-actions github-actions bot temporarily deployed to preview-pr-2144 April 23, 2024 13:37 Destroyed
@MadanKumarGovindaswamy MadanKumarGovindaswamy marked this pull request as ready for review April 24, 2024 04:44
@sugan2416 sugan2416 merged commit 74e9022 into main Apr 25, 2024
22 checks passed
@sugan2416 sugan2416 deleted the UXPLATFORM-10370 branch April 25, 2024 04:28
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