Test add this condition to see how it works

This commit is contained in:
Lim Chee Aun 2023-01-04 17:12:44 +08:00
parent 7e869949e2
commit 8e19d098eb

View file

@ -247,9 +247,8 @@ function Home({ hidden }) {
</div>
</header>
{snapStates.homeNew.length > 0 &&
scrollDirection === 'up' &&
!nearReachTop &&
!nearReachBottom && (
((scrollDirection === 'up' && !nearReachTop && !nearReachBottom) ||
reachTop) && (
<button
class="updates-button"
type="button"