mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 19:26:36 +00:00
More info scroll fix (#4774)
* Fix more info dialog scrolling * Update ha-more-info-dialog.js
This commit is contained in:
parent
2e4c73c087
commit
e01f1cfcac
@ -80,7 +80,7 @@ class HaMoreInfoDialog extends DialogMixin(PolymerElement) {
|
|||||||
class="no-padding"
|
class="no-padding"
|
||||||
hass="[[hass]]"
|
hass="[[hass]]"
|
||||||
state-obj="[[stateObj]]"
|
state-obj="[[stateObj]]"
|
||||||
dialog-element="[[_dialogElement]]"
|
dialog-element="[[_dialogElement()]]"
|
||||||
registry-entry="[[_registryInfo]]"
|
registry-entry="[[_registryInfo]]"
|
||||||
large="{{large}}"
|
large="{{large}}"
|
||||||
></more-info-controls>
|
></more-info-controls>
|
||||||
@ -102,7 +102,6 @@ class HaMoreInfoDialog extends DialogMixin(PolymerElement) {
|
|||||||
observer: "_largeChanged",
|
observer: "_largeChanged",
|
||||||
},
|
},
|
||||||
|
|
||||||
_dialogElement: Object,
|
|
||||||
_registryInfo: Object,
|
_registryInfo: Object,
|
||||||
|
|
||||||
dataDomain: {
|
dataDomain: {
|
||||||
@ -116,9 +115,8 @@ class HaMoreInfoDialog extends DialogMixin(PolymerElement) {
|
|||||||
return ["_dialogOpenChanged(opened)"];
|
return ["_dialogOpenChanged(opened)"];
|
||||||
}
|
}
|
||||||
|
|
||||||
ready() {
|
_dialogElement() {
|
||||||
super.ready();
|
return this;
|
||||||
this._dialogElement = this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_computeDomain(stateObj) {
|
_computeDomain(stateObj) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user