extend custom select part 2 (#2178)

This commit is contained in:
Shuchang Zheng
2025-04-16 23:07:36 -07:00
committed by GitHub
parent 4041da106d
commit 83adc226d9

View File

@@ -2273,7 +2273,11 @@ if (window.globalObserverForDOMIncrement === undefined) {
if (
!isClassNameIncludesHidden(mutation.oldValue) &&
!node.hasAttribute("data-menu-uid") && // google framework use this to trace dropdown menu
!mutation.oldValue.includes("select__items")
!mutation.oldValue.includes("select__items") &&
!(
node.hasAttribute("data-testid") &&
node.getAttribute("data-testid").includes("select-dropdown")
)
)
continue;
const newStyle = getElementComputedStyle(node);