We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1da47f1 commit bcfe4ceCopy full SHA for bcfe4ce
src/components/knx-group-address-selector.ts
@@ -88,6 +88,11 @@ export class GroupAddressSelector extends LitElement {
88
this.addressOptions = getAddressOptions(this.filteredGroupAddresses);
89
}
90
91
+ protected shouldUpdate(changedProps: PropertyValues<this>) {
92
+ // ignore hass updates to avoid scrolling reset of open dropdowns (when input filter is set)
93
+ return !(changedProps.size === 1 && changedProps.has("hass"));
94
+ }
95
+
96
protected willUpdate(changedProps: PropertyValues<this>) {
97
if (changedProps.has("config")) {
98
const selectedDPT = this.getValidDptFromConfigValue();
0 commit comments