Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

v2 #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
jscottsmith merged 53 commits into master from next
Mar 7, 2019
Merged

v2 #49

Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
ddb781e
#36 use new context API
jscottsmith Jul 21, 2018
c48f825
#36 test and readme updates
jscottsmith Jul 21, 2018
ea4b5a1
fix export
jscottsmith Jan 27, 2019
b1d867d
ignore cache
jscottsmith Jan 27, 2019
7de737f
next 👌🏻🆗🔜
jscottsmith Feb 9, 2019
b256b2a
use node 8
jscottsmith Feb 9, 2019
8362cf7
remove border styles
jscottsmith Feb 9, 2019
53d973c
add next storybook 📓
jscottsmith Feb 9, 2019
b82cdb9
upgrade storybook to v4
jscottsmith Feb 9, 2019
ec8785a
fix jest tests
jscottsmith Feb 9, 2019
2f5715a
fixing bad tests and adding new ones
jscottsmith Feb 10, 2019
1c23fdb
add server side tests
jscottsmith Feb 10, 2019
d469cfe
support horizontal scrolling ↔️
jscottsmith Feb 11, 2019
f41a1d9
refactor using element class
jscottsmith Feb 12, 2019
e9c6be4
remove old test
jscottsmith Feb 13, 2019
e536445
fixing a few bugs and updatign tests
jscottsmith Feb 16, 2019
cecbf71
eslint errors
jscottsmith Feb 18, 2019
d67e335
set initial scroll state when constructing
jscottsmith Feb 18, 2019
4a3a899
prepublish babel script
jscottsmith Feb 18, 2019
61abb23
whitelist files to publish
jscottsmith Feb 18, 2019
791b117
ignore .DS_STORE
jscottsmith Feb 18, 2019
eb1fa2d
2.0.0-alpha.3
jscottsmith Feb 18, 2019
ad0b807
refactoring/renaming
jscottsmith Feb 18, 2019
5908e17
readme updates
jscottsmith Feb 18, 2019
21c4e2b
support parallax scrolling in container divs
jscottsmith Feb 22, 2019
27b3f20
readme updates
jscottsmith Feb 22, 2019
42b36c1
2.0.0-alpha.4
jscottsmith Feb 22, 2019
53e25d0
reorganize modules
jscottsmith Feb 23, 2019
a4ebf6a
story updates
jscottsmith Feb 23, 2019
1a1a4cd
refactoring and updating tests
jscottsmith Feb 23, 2019
3cd6973
2.0.0-alpha.5
jscottsmith Feb 23, 2019
15996b1
correct published files
jscottsmith Feb 24, 2019
56d1022
2.0.0-alpha.6
jscottsmith Feb 24, 2019
defd012
add getCache tests
jscottsmith Feb 25, 2019
01ff1d3
refactoring cache to rect/bounds classes
jscottsmith Feb 27, 2019
b60183b
add demo netlify link
jscottsmith Feb 27, 2019
45e39d0
new line
jscottsmith Feb 27, 2019
4a4bfd7
2.0.0-beta.0
jscottsmith Feb 28, 2019
eb2e749
update dev notes
jscottsmith Feb 28, 2019
055e214
correct prettier script
jscottsmith Feb 28, 2019
159fdbf
eslint fixes
jscottsmith Feb 28, 2019
a1f2f86
add migration guide
jscottsmith Feb 28, 2019
4ad2c50
2.0.0-beta.1
jscottsmith Mar 5, 2019
b6df480
validate scrollContainer prop for server side
jscottsmith Mar 6, 2019
4ac2989
2.0.0-beta.2
jscottsmith Mar 6, 2019
87231ae
remove old prop from docs
jscottsmith Mar 6, 2019
1a4fcb9
2.0.0-beta.3
jscottsmith Mar 6, 2019
d69226a
upgrade storybook
jscottsmith Mar 6, 2019
f30ec2a
update README
jscottsmith Mar 7, 2019
c87eea7
add source links
jscottsmith Mar 7, 2019
e039bb4
remove more slowerScrollRate references
jscottsmith Mar 7, 2019
3c3b3af
2.0.0-beta.4
jscottsmith Mar 7, 2019
bbbfae8
link to migration guide
jscottsmith Mar 7, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
set initial scroll state when constructing
  • Loading branch information
jscottsmith committed Feb 18, 2019
commit d67e335492dbe2dc3f434b11b0920b64d22281d6
2 changes: 1 addition & 1 deletion src/modules/ParallaxController.js
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function ParallaxController({ scrollAxis = VERTICAL }) {
let elements = [];

// Scroll and View
const scroll = new Scroll(0, 0);
const scroll = new Scroll(window.pageXOffset, window.pageYOffset);
const view = new View(0, 0);

// Ticking
Expand Down

AltStyle によって変換されたページ (->オリジナル) /