mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
fixed sticker desc touch handler
This commit is contained in:
parent
646c38c0ee
commit
dd2861fe5c
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@ export class StickerDesc extends React.PureComponent<Props, State> {
|
||||||
};
|
};
|
||||||
|
|
||||||
blockMouse = e => {
|
blockMouse = e => {
|
||||||
|
console.log('BM');
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
this.input.focus();
|
this.input.focus();
|
||||||
};
|
};
|
||||||
|
@ -37,6 +38,7 @@ export class StickerDesc extends React.PureComponent<Props, State> {
|
||||||
onMouseDown={this.blockMouse}
|
onMouseDown={this.blockMouse}
|
||||||
onMouseUp={this.blockMouse}
|
onMouseUp={this.blockMouse}
|
||||||
onDragStart={this.blockMouse}
|
onDragStart={this.blockMouse}
|
||||||
|
onTouchStart={this.blockMouse}
|
||||||
>
|
>
|
||||||
<div className="sticker-desc-sizer">
|
<div className="sticker-desc-sizer">
|
||||||
<span
|
<span
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue