aweary/react-perimeter

Track horizontal scroll offset

开放

#2 创建于 2017年3月17日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (27 个派生)github user discovery
enhancementgood first bughelp wanted

仓库指标

星标
 (1,042 个星标)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南