cerner / terra-framework

Terra framework houses composed and higher order react components to help developers quickly build out new applications.
http://terra-ui.com
Apache License 2.0
67 stars 71 forks source link

[terra-tabs] Deselection of Tab Issue #2144

Closed MadanKumarGovindaswamy closed 6 months ago

MadanKumarGovindaswamy commented 6 months ago

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:

Reviews

In addition to engineering reviews, this PR needs:

Additional Details

This PR resolves:

UXPLATFORM-10370


Thank you for contributing to Terra. @cerner/terra