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.
2 parents 3854df1 + f4ba512 commit eed6cb7Copy full SHA for eed6cb7
lib/plots/canopy.js
@@ -96,6 +96,8 @@ export class Pannable extends Etch {
96
}
97
98
readAfterUpdate () {
99
+ this.containerRect =
100
+ this.element.getElementsByClassName('ink-pannable')[0].getBoundingClientRect()
101
this.setInitialScale(this.item)
102
etch.update(this)
103
@@ -196,11 +198,6 @@ export class Pannable extends Etch {
196
198
</div>;
197
199
200
- readAfterUpdate () {
- this.containerRect =
201
- this.element.getElementsByClassName('ink-pannable')[0].getBoundingClientRect()
202
- }
203
-
204
teardown () {
205
if (this.item && this.item.teardown) this.item.teardown()
206
0 commit comments