aweary/react-perimeter

Track horizontal scroll offset

Open

#2 创建于 2017年3月17日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)JavaScript (27 fork)github user discovery
enhancementgood first bughelp wanted

仓库指标

Star
 (1,042 star)
PR 合并指标
 (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.

贡献者指南