fix(TranslatePage): Disable scroll sync by default

This commit is contained in:
kangfenmao 2025-03-10 18:01:40 +08:00
parent 2446406147
commit 28a3cae89f

View File

@ -40,7 +40,7 @@ const TranslatePage: FC = () => {
const [loading, setLoading] = useState(false)
const [copied, setCopied] = useState(false)
const [historyDrawerVisible, setHistoryDrawerVisible] = useState(false)
const [isScrollSyncEnabled, setIsScrollSyncEnabled] = useState(true)
const [isScrollSyncEnabled, setIsScrollSyncEnabled] = useState(false)
const contentContainerRef = useRef<HTMLDivElement>(null)
const textAreaRef = useRef<TextAreaRef>(null)
const outputTextRef = useRef<HTMLDivElement>(null)