mirror of
https://github.com/apache/superset.git
synced 2026-07-16 11:46:09 +00:00
address review: timeless comment wording
This commit is contained in:
@@ -246,7 +246,7 @@ export const DropdownContainer = forwardRef(
|
||||
overflowingIndex !== -1 ? items.length - overflowingIndex : 0;
|
||||
|
||||
// Always show button when items exist to prevent layout shifts
|
||||
// and ensure consistent UI even when nothing is currently overflowing
|
||||
// and ensure consistent UI even when no items are overflowing
|
||||
const shouldShowButton = items.length > 0 || !!dropdownContent;
|
||||
|
||||
const popoverContent = useMemo(
|
||||
|
||||
Reference in New Issue
Block a user