aweary/react-perimeter

Track horizontal scroll offset

Open

#2 opened on 2017年3月17日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)JavaScript (27 forks)github user discovery
enhancementgood first bughelp wanted

Repository metrics

Stars
 (1,042 stars)
PR merge metrics
 (PR metrics pending)

説明

We already track the vertical offset (pageYOffset) so the perimeter is calculated correctly on scroll (and if the component mounts on a page that is already scrolled).

Horizontal scroll is less common, but still it's good idea to support it nonetheless.

コントリビューターガイド