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

scroll problem on webapp #251

Open
spacewoox opened this issue Jun 19, 2014 · 1 comment
Open

scroll problem on webapp #251

spacewoox opened this issue Jun 19, 2014 · 1 comment

Comments

@spacewoox
Copy link

Hi, I am developping a webapp (an epub reader) and I encoutered a problem on devices running Android 4.1 (samsung galaxy s3 mini) when I attempt to scroll on a zooomed content. ( a custom zoom btw )
What I noticed is that the element I drag doesn't follow the finger as it should but move faster and faster until it go ahead !
To fix that, I removed a css property on Monocle/src/core/styles.js at line 110 : "-webkit-transform: translate3d(0, 0, 0);" and it works well now but I don't know why.
Maybe someone can tell me what this property is used for and how it affect the scroll ?
thanks.

@AbhilashThomas
Copy link

I am guessing it has to do something with the hardwareAccleration. Try to disable it in your AndroidManifest, put back the transform css and try/experiment.

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