extend custom select part 2 (#2178)
This commit is contained in:
@@ -2273,7 +2273,11 @@ if (window.globalObserverForDOMIncrement === undefined) {
|
|||||||
if (
|
if (
|
||||||
!isClassNameIncludesHidden(mutation.oldValue) &&
|
!isClassNameIncludesHidden(mutation.oldValue) &&
|
||||||
!node.hasAttribute("data-menu-uid") && // google framework use this to trace dropdown menu
|
!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;
|
continue;
|
||||||
const newStyle = getElementComputedStyle(node);
|
const newStyle = getElementComputedStyle(node);
|
||||||
|
|||||||
Reference in New Issue
Block a user