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

Scrolling down when I call window.resize() #230

Open
kargnas opened this issue Feb 13, 2017 · 6 comments
Open

Scrolling down when I call window.resize() #230

kargnas opened this issue Feb 13, 2017 · 6 comments

Comments

@kargnas
Copy link

kargnas commented Feb 13, 2017

http://www.giphy.com/gifs/l3q2yWlKPf450R7nq

This is very recent issue on modern browser. Anyone fixed this?

@techxaidz
Copy link

I am experiencing same issue on Chrome Version 56.0.2924.87

Could you verify if this case is isolated solely on Chrome browser?

@rubberlizard
Copy link

rubberlizard commented Mar 3, 2017

The problem was there in all browsers i tried. Using a small javascript to change the size of the page, did a somewhat fix by changing spacer = $('<div />'); to spacer = $('<div id="new_id" />');
(line 461),and then setting the style of that id with the resize script.
$("#new_id").css("height", "0");
Hope this helps

@techxaidz
Copy link

Will try the above suggestion and give feedback once verified. Thanks!

@ytarasevich
Copy link

@rubberlizard, thank you for your suggestion! It fixed the scrolling down issue for me.

@Brockenstein
Copy link

@rubberlizard your solution removes the spacer, which creates a jump on the first scroll after the fixed script has run.

The following video shows both the original problem and your solution in the works. Now your solution is better than the original problem but doesn't fix the issue completely.

https://www.screencast.com/t/tZG8xwtg

@4knahs
Copy link

4knahs commented Jan 12, 2018

I have the same issue with v1.0.6 on chrome, any solution?

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

6 participants