fix: scroll when clicking expand button (#1035)

pull/1042/head
Stephen Zhou 2 years ago committed by GitHub
parent 81f2166912
commit 99cac7cac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -83,9 +83,6 @@ const MemoContent: React.FC<Props> = (props: Props) => {
setState({
expandButtonStatus: Number(expandButtonStatus) as ExpandButtonStatus,
});
if (!expandButtonStatus) {
memoContentContainerRef.current?.scrollIntoView();
}
};
return (

Loading…
Cancel
Save