mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-30 01:21:36 +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({
|
const { nearReachStart } = useScroll({
|
||||||
scrollableElement: scrollableRef.current,
|
scrollableElement: scrollableRef.current,
|
||||||
distanceFromStart: 0.5,
|
distanceFromStart: 0.2,
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Add table
Reference in a new issue