Skip to content
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

fixed Sticky not being fixed when calling window.scrollTo() #32

Merged
merged 1 commit into from
Apr 20, 2016

Conversation

kaesonho
Copy link
Contributor

@kaesonho kaesonho commented Apr 20, 2016

@hankhsiao

fix the issue if users call window.scrollTo directly,
we will just go to release mode and will need to wait for next render to toggle to fixed mode

will have setState twice, but should be ok since it's edge case,
then we are still going to the flow, original -> release -> fixed

@hankhsiao
Copy link
Contributor

👍

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 97.11% when pulling 6265485 on releasetofixed into ff4a48d on master.

@yahoocla
Copy link

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! 😄

@yahoocla
Copy link

CLA is valid!

@kaesonho kaesonho merged commit 12dc169 into master Apr 20, 2016
@kaesonho kaesonho deleted the releasetofixed branch April 20, 2016 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants