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

Problem overflow-y scroll and brim #9

Open
MrAdrianS opened this issue Mar 3, 2015 · 2 comments
Open

Problem overflow-y scroll and brim #9

MrAdrianS opened this issue Mar 3, 2015 · 2 comments

Comments

@MrAdrianS
Copy link

Is it possible to somehow allow scrolling content inside div when use brim.js?
I try add <div style="width:100%;height:100%;overflow-y:scroll;-webkit-overflow-scrolling:touch;">content</div> in brim-main, but scroll don't work..

@efimovdk
Copy link

@MrAdrianS Hello, we are experiencing the same problem. Did you find any solution to this?

@hoanghuu
Copy link

hoanghuu commented May 19, 2016

I think you can comment the line code e.preventDefault(); on touchmove event.
OR you should change the if statement on touchmove event to:
if (viewport.isMinimalView() && firstMove && e.target.tagName.toLowerCase() == "body") { e.preventDefault(); }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants