fix ng selectable detect (#4104)

This commit is contained in:
LawyZheng
2025-11-26 23:02:57 +08:00
committed by GitHub
parent 0ed55ad8bc
commit e0d537a099

View File

@@ -1186,6 +1186,10 @@ const isAngularDropdown = (element) => {
return false;
}
if (element.type?.toLowerCase() === "search") {
return false;
}
const tagName = element.tagName.toLowerCase();
if (tagName === "input" || tagName === "span") {
const ariaLabel = element.hasAttribute("aria-label")