fix bug 72709

This commit is contained in:
Dmitry-Ilyushechkin
2026-01-16 19:22:44 +03:00
parent 5d11041a22
commit 0b379ba8bc

View File

@ -90,7 +90,7 @@ class SearchView extends Component {
componentDidMount() {
this.$replace = $$('#idx-replace-val');
const $editor = $$('#editor_sdk');
const $editor = $$('#id_viewer_overlay, #ws-canvas-graphic-overlay');
this.onEditorTouchStart = this.onEditorTouchStart.bind(this);
this.onEditorTouchEnd = this.onEditorTouchEnd.bind(this);
@ -132,7 +132,7 @@ class SearchView extends Component {
}
componentWillUnmount() {
$$('#editor_sdk')
$$('#id_viewer_overlay, #ws-canvas-graphic-overlay')
.off('pointerdown', this.onEditorTouchStart)
.off('pointerup', this.onEditorTouchEnd);