mirror of
https://github.com/usememos/memos.git
synced 2025-03-19 04:00:08 +01:00
fix: scroll when clicking expand button (#1035)
This commit is contained in:
parent
81f2166912
commit
99cac7cac0
@ -83,9 +83,6 @@ const MemoContent: React.FC<Props> = (props: Props) => {
|
||||
setState({
|
||||
expandButtonStatus: Number(expandButtonStatus) as ExpandButtonStatus,
|
||||
});
|
||||
if (!expandButtonStatus) {
|
||||
memoContentContainerRef.current?.scrollIntoView();
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user