mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-26 07:34:44 +01:00
Reduce distance from start to show the scroll to top button
This commit is contained in:
parent
d5447db035
commit
88ffb3a44c
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ function StatusPage() {
|
|||
|
||||
const { nearReachStart } = useScroll({
|
||||
scrollableElement: scrollableRef.current,
|
||||
distanceFromStart: 0.5,
|
||||
distanceFromStart: 0.2,
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Reference in a new issue