Unverified Commit 99cac7ca authored by Stephen Zhou's avatar Stephen Zhou Committed by GitHub

fix: scroll when clicking expand button (#1035)

parent 81f21669
......@@ -83,9 +83,6 @@ const MemoContent: React.FC<Props> = (props: Props) => {
setState({
expandButtonStatus: Number(expandButtonStatus) as ExpandButtonStatus,
});
if (!expandButtonStatus) {
memoContentContainerRef.current?.scrollIntoView();
}
};
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment