mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +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 => {
|
||||
console.log('BM');
|
||||
e.stopPropagation();
|
||||
this.input.focus();
|
||||
};
|
||||
|
@ -37,6 +38,7 @@ export class StickerDesc extends React.PureComponent<Props, State> {
|
|||
onMouseDown={this.blockMouse}
|
||||
onMouseUp={this.blockMouse}
|
||||
onDragStart={this.blockMouse}
|
||||
onTouchStart={this.blockMouse}
|
||||
>
|
||||
<div className="sticker-desc-sizer">
|
||||
<span
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue