Skip to content

Commit 6f76da8

Browse files
committed
Merge remote-tracking branch 'jsonkao/master'
2 parents 9322d65 + d645d5d commit 6f76da8

File tree

5 files changed

+16424
-48
lines changed

5 files changed

+16424
-48
lines changed

README.md

Lines changed: 40 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,41 @@
99
</a>
1010
</p>
1111

12-
React Scrollama is a lightweight interface for scrollytelling that uses [IntersectionObserver](https://developer.mozilla.org/docs/Web/API/Intersection_Observer_API) in favor of scroll events. It is adapted from Russel Goldenbeg's [Scrollama](https://github.com/russellgoldenberg/scrollama/).
12+
React Scrollama is a lightweight interface for scrollytelling in React. It is adapted from Russel Goldenbeg's [Scrollama](https://github.com/russellgoldenberg/scrollama), and it uses the [IntersectionObserver](https://developer.mozilla.org/docs/Web/API/Intersection_Observer_API) instead of scroll events.
1313

1414
As seen in:
15-
- [Sex Diversity Among Graduate Students Is Stagnating](https://www.columbiaspectator.com/eye-lead/graduate-sex-diversity/) ([Columbia Daily Spectator](https://github.com/graphicsdesk))
16-
- [The scramble to secure America’s voting machines](https://www.politico.com/interactives/2019/election-security-americas-voting-machines) ([POLITICO](https://github.com/The-Politico))
17-
- [Lower-income undergraduate students are paying more and more to attend Columbia; wealthier students are paying less and less, federal data shows](https://www.columbiaspectator.com/news/net-price-inequity) ([Columbia Daily Spectator](https://github.com/graphicsdesk))
15+
<table>
16+
<tbody>
17+
<tr>
18+
<td>
19+
<a href="https://www.worldbank.org/en/home"><img src="https://user-images.githubusercontent.com/15334952/111389696-ca705b00-8687-11eb-9db9-4f0919715834.png" width="220"/></a> <br/>
20+
<a href="https://www.un.org/en/"><img src="https://user-images.githubusercontent.com/15334952/111392820-c0515b00-868d-11eb-9b82-5eaace6612c9.png" width="135"/></a> <br/>
21+
<a href="https://datatopics.worldbank.org/sdgatlas/">17 interactive visualization <br/>
22+
stories</a> <a href="https://twitter.com/maartenzam/status/1371951848039579664">using</a> React Scrollama <br/>
23+
for scrollytelling
24+
</td>
25+
<td>
26+
<a href="https://datatopics.worldbank.org/sdgatlas/"><img src="https://user-images.githubusercontent.com/15334952/111390361-fb04c480-8688-11eb-9fa1-3991ee73dd05.png" width="450"/></a>
27+
</td>
28+
</tr>
29+
<tr>
30+
<td>
31+
<a href="https://www.politico.com/"><img src="https://jolttx.org/wp-content/uploads/2019/10/politico-logo.png" width="150" /></a> <br/> <a href="https://www.politico.com/interactives/2019/election-security-americas-voting-machines"><i>The scramble to secure <br/> America’s voting machines</i></a> <br/> by <a href="https://bzjin.github.io">Beatrice Jin</a>
32+
</td>
33+
<td>
34+
<a href="https://www.politico.com/interactives/2019/election-security-americas-voting-machines"><img src="https://user-images.githubusercontent.com/15334952/111391036-2dfb8800-868a-11eb-9c64-3f322ef1e588.png" width="450"/></a>
35+
</td>
36+
</tr>
37+
<tr>
38+
<td>
39+
<a href="http://graphicsdesk.github.io/"><img src="https://s3.amazonaws.com/spec-imagehosting/spectator-logo.png" width="180"/></a><br/> <a href="https://www.columbiaspectator.com/eye-lead/graduate-sex-diversity"><i>Sex Diversity Among Grad <br/> Students is Stagnating</i></a> <br/> by Jason Kao
40+
</td>
41+
<td>
42+
<a href="https://www.columbiaspectator.com/eye-lead/graduate-sex-diversity"><img src="https://user-images.githubusercontent.com/15334952/111391310-b843ec00-868a-11eb-9744-72ee913cdbe1.png" width="450"/></a>
43+
</td>
44+
</tr>
45+
</tbody>
46+
</table>
1847

1948
## Demo
2049

@@ -152,13 +181,7 @@ These are the props you can set on the `Step` component:
152181

153182
You will also probably want to set a `key` prop on each `Step` if you're transforming an array of data into a list of `Step` elements (see [Lists and Keys](https://reactjs.org/docs/lists-and-keys.html)).
154183

155-
## Features roadmap
156-
157-
* Being able to use pixels instead of percent for offset value so stuff on mobile doesn't jump around on scroll direction change
158-
* Currently, there is no way to throttle/customize React Scrollama's [resize listener](https://github.com/jsonkao/react-scrollama/blob/master/src/Scrollama.js#L104) 😢. We're working on this in [#44](https://github.com/jsonkao/react-scrollama/issues/44).
159-
* Fire previous step triggers if they were jumped
160-
161-
## Contributors
184+
## The contributors that made this possible
162185

163186
* [jsonkao](https://github.com/jsonkao)
164187
* [NicholasLYang](https://github.com/NicholasLYang)
@@ -176,6 +199,10 @@ You will also probably want to set a `key` prop on each `Step` if you're transfo
176199
* [danieleguido](https://github.com/danieleguido)
177200
* [Lane](https://github.com/Lane)
178201

179-
## License
202+
## Features roadmap
203+
204+
* Being able to use pixels instead of percent for offset value so stuff on mobile doesn't jump around on scroll direction change
205+
* Currently, there is no way to throttle/customize React Scrollama's [resize listener](https://github.com/jsonkao/react-scrollama/blob/master/src/Scrollama.js#L104) 😢. We're working on this in [#44](https://github.com/jsonkao/react-scrollama/issues/44).
206+
* Fire previous step triggers if they were jumped
180207

181-
MIT
208+
If you need these features ASAP, let us know in issue!

0 commit comments

Comments
 (0)