Created
January 13, 2017 18:17
-
-
Save okonet/28fcc2b91e8d687539ebcabfe721cd7c to your computer and use it in GitHub Desktop.
React at 60fps Example 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
handleScroll = (evt) => { | |
// Calculate new scrollTop positions | |
// for left and right panes based on | |
// DOM nodes and evt.target.scrollTop | |
this.leftPaneScrollTop = … | |
this.rightPaneScrollTop = … | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment