Searched refs:lowerThreshold (Results 1 – 2 of 2) sorted by relevance
23 const lowerThreshold = bounds.height * LOWER_THRESHOLD; constant27 } else if (targetPosition > position + lowerThreshold) {28 ref.current.scrollTo({ top: targetPosition - lowerThreshold });
151 const lowerThreshold = window.innerHeight * LOWER_SCROLL_LIMIT_FACTOR;155 } else if (activeItemPos > scrollTop + lowerThreshold) {156 selfScroll.scrollTo({ behavior: 'auto', top: activeItemPos - lowerThreshold });