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

Redifing width in enscroll has problems #59

Open
ghost opened this issue Nov 10, 2015 · 1 comment
Open

Redifing width in enscroll has problems #59

ghost opened this issue Nov 10, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 10, 2015

I have a responsive web page that will scroll with Enscroll. My problem is when I resize the page, the scrolling div will resize and that is what I want. But when I resize the page again to get bigger, The scrolling div won't get bigger and Its size is at the smaller size that I have resized the browser.

What should I do for that? I tried this code but It had problem. Because when I resize the page, scroll track and handle will repeat in the page:

$(window).resize(function(){
$(".mydiv").enscroll();
});

@s-a-s-k-i-a
Copy link

This is also true for simply switching forth and back between portait and landscape mode on mobile devices.
This is an annoying issue.
Please provide a fix.

Thanks!

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

1 participant