diff --git a/src/views/Selection/TranBtn.js b/src/views/Selection/TranBtn.js
index d140c59..bbf1b3b 100644
--- a/src/views/Selection/TranBtn.js
+++ b/src/views/Selection/TranBtn.js
@@ -1,4 +1,5 @@
import { limitNumber } from "../../libs/utils";
+import { isMobile } from "../../libs/mobile";
export default function TranBtn({ onClick, position, tranboxSetting }) {
const left = limitNumber(
@@ -12,6 +13,14 @@ export default function TranBtn({ onClick, position, tranboxSetting }) {
document.body.scrollHeight - 20
);
+ const touchProps = isMobile
+ ? {
+ onTouchEnd: onClick,
+ }
+ : {
+ onMouseUp: onClick,
+ };
+
return (
{
- e.stopPropagation();
- }}
+ {...touchProps}
>