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

Commit

Permalink
minor correction
Browse files Browse the repository at this point in the history
  • Loading branch information
SM051274 committed Oct 24, 2023
1 parent a5d259f commit e397651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/terra-tabs/src/common-tabs/_Tabs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ class Tabs extends React.Component {

this.dropdownRef.current.style.left = `${offset}px`;
// Dropdown menu gets truncated when the left edge is less than or equal to zero. setting min-width will help to fix this issue.
if (leftEdge <= 0) {
if (!leftEdge) {
this.dropdownRef.current.style.minWidth = `${moreRect.width}px`;
}
}
Expand Down

0 comments on commit e397651

Please sign in to comment.