mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +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"
|
||||
hass="[[hass]]"
|
||||
state-obj="[[stateObj]]"
|
||||
dialog-element="[[_dialogElement]]"
|
||||
dialog-element="[[_dialogElement()]]"
|
||||
registry-entry="[[_registryInfo]]"
|
||||
large="{{large}}"
|
||||
></more-info-controls>
|
||||
@ -102,7 +102,6 @@ class HaMoreInfoDialog extends DialogMixin(PolymerElement) {
|
||||
observer: "_largeChanged",
|
||||
},
|
||||
|
||||
_dialogElement: Object,
|
||||
_registryInfo: Object,
|
||||
|
||||
dataDomain: {
|
||||
@ -116,9 +115,8 @@ class HaMoreInfoDialog extends DialogMixin(PolymerElement) {
|
||||
return ["_dialogOpenChanged(opened)"];
|
||||
}
|
||||
|
||||
ready() {
|
||||
super.ready();
|
||||
this._dialogElement = this;
|
||||
_dialogElement() {
|
||||
return this;
|
||||
}
|
||||
|
||||
_computeDomain(stateObj) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user