Prevent mwc-list-item from opening up quick-bar (#10317)

This commit is contained in:
Joakim Sørensen 2021-10-18 22:04:50 +02:00 committed by GitHub
parent b576c3de40
commit bb2fe650ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,10 @@ export default <T extends Constructor<HassElement>>(superClass: T) =>
return false;
}
if (el.parentElement.tagName === "MWC-SELECT") {
return false;
}
if (el.tagName !== "INPUT") {
return true;
}