1
0
Fork 0
mirror of https://github.com/cheeaun/phanpy.git synced 2025-03-13 09:28:50 +01:00

Gosh this need to be low threshold

It's actually % of the full height of the element. So if the status is super long (100K chars), it'll never be 0.25
This commit is contained in:
Lim Chee Aun 2022-12-31 23:58:48 +08:00
parent f9e1704727
commit 895602e446

View file

@ -368,7 +368,7 @@ function StatusPage({ id }) {
} ${thread ? 'thread' : ''} ${isHero ? 'hero' : ''}`}
>
{isHero ? (
<InView threshold={0.25} onChange={onView}>
<InView threshold={0.1} onChange={onView}>
<Status statusID={statusID} withinContext size="l" />
</InView>
) : (