aweary/react-perimeter

Track horizontal scroll offset

オープン

#2 opened on 2017/03/17

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (27 件のフォーク)github user discovery
enhancementgood first bughelp wanted

Repository metrics

Stars
 (1,042 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

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