Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Fixed the correct initial calculation of the offset. #456

Merged
merged 1 commit into from
Mar 3, 2019
Merged

Fixed the correct initial calculation of the offset. #456

merged 1 commit into from
Mar 3, 2019

Conversation

FrankMerema
Copy link
Contributor

Fixes

It fixes for my project the issues with the initial calculation of the offsets

Proposed Changes

  • Change
    Initial stickyStart calculation
    Offset used for sticky state, is the offset calculated in the computeScrollOffsets function

Read about referenced issues here. Replace words with this Pull Request's context.

Resolves #455

@yowainwright
Copy link
Contributor

@FrankMerema thanks for this PR. I will think about this update.

@wutgit
Copy link

wutgit commented Feb 27, 2019

Just a note from me, with this fix everything works fine in IE11 for me.

@FrankMerema
Copy link
Contributor Author

@yowainwright Any thoughts on this PR already?

@yowainwright
Copy link
Contributor

@FrankMerema I'll look into this today. Sorry for the wait.

@yowainwright yowainwright merged commit 72fa767 into dollarshaveclub:master Mar 3, 2019
@FrankMerema FrankMerema deleted the bugfix/offset-calculation-for-scrollable-childs branch March 4, 2019 08:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Question about offset calculation
3 participants