fix: 🐛
This commit is contained in:
parent
8582f28315
commit
e3c8dc838d
2 changed files with 2 additions and 1 deletions
|
|
@ -369,6 +369,7 @@ export default function NoteList({
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</PullToRefresh>
|
</PullToRefresh>
|
||||||
|
<div className="h-40" />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ const SecondaryPageLayout = forwardRef(
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (isSmallScreen) {
|
if (isSmallScreen) {
|
||||||
window.scrollTo({ top: 0 })
|
setTimeout(() => window.scrollTo({ top: 0 }), 0)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}, [])
|
}, [])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue