diff --git a/src/common/components/Search.tsx b/src/common/components/Search.tsx index 9f8019d..e757f5d 100644 --- a/src/common/components/Search.tsx +++ b/src/common/components/Search.tsx @@ -123,7 +123,12 @@ const Search = () => { {hasError ? "搜尋發生錯誤。" : undefined} - + + // https://github.com/adobe/react-spectrum/issues/1513 + ref?.addEventListener("touchend", (e) => e.preventDefault()) + } + > {(section: (typeof options)[number]) => (
diff --git a/src/common/components/UserBox.tsx b/src/common/components/UserBox.tsx index ed5715a..5235aa7 100644 --- a/src/common/components/UserBox.tsx +++ b/src/common/components/UserBox.tsx @@ -75,7 +75,12 @@ const UserBoxComponent = () => { - + + // https://github.com/adobe/react-spectrum/issues/1513 + ref?.addEventListener("touchend", (e) => e.preventDefault()) + } + >

Facebook 登入將於 7/15 停止運作。

diff --git a/src/dx_intl/pages/Player.tsx b/src/dx_intl/pages/Player.tsx index 0dec500..b44ffae 100644 --- a/src/dx_intl/pages/Player.tsx +++ b/src/dx_intl/pages/Player.tsx @@ -379,7 +379,12 @@ const Player = ({ params }: { params: Params }) => { - + + // https://github.com/adobe/react-spectrum/issues/1513 + ref?.addEventListener("touchend", (e) => e.preventDefault()) + } + >
譜面
@@ -527,6 +532,10 @@ const Player = ({ params }: { params: Params }) => { + // https://github.com/adobe/react-spectrum/issues/1513 + ref?.addEventListener("touchend", (e) => e.preventDefault()) + } triggerRef={ratingPopRef} isOpen={!!ratingPopEntry} onOpenChange={(o) => {