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

not sticky when change browser size #9

Open
davydkoff opened this issue Apr 3, 2016 · 1 comment
Open

not sticky when change browser size #9

davydkoff opened this issue Apr 3, 2016 · 1 comment

Comments

@davydkoff
Copy link

If i use

function(){ if( $(window).width() < 768 ) return false; return true; }

on load browser width 600, height 600 stickUp2 off, scroll up, then when I change the width & height of the browser (1920x1080) stickUp2 on correctly.

But if i load browser width 1920, height 1080, then when I change the width & height of the browser to 600x600, scroll up, and returns the inverse of the width and height of the browser, stickUp2 incorrectly considers the size.

How i do reinit stickUp2 when change width of the browser?

@ppowalowski
Copy link
Owner

Hi,

can you make up a codepen showing the issue?

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

No branches or pull requests

2 participants