Skip to content

Commit 8ebba27

Browse files
committed
ignore dispatchEvent during SSR
1 parent 2e75a73 commit 8ebba27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/components/PlotRender.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ class Element {
6666
removeEventListener() {
6767
// ignored; interaction needs real DOM
6868
}
69+
dispatchEvent() {
70+
// ignored; interaction needs real DOM
71+
}
6972
appendChild(child) {
7073
this.children.push(child);
7174
child.parentNode = this;

0 commit comments

Comments
 (0)