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

When you focus input field on old Android - keyboard does not appear #28

Open
mikegordienko-devpronet opened this issue Oct 31, 2012 · 0 comments

Comments

@mikegordienko-devpronet

I've the page that uses touchscroll.js and in old Androids after focusing input on the page the keyboard does not appear.
The fix that helped me was to check if the properties are defined in browser

function setTransitionProperty(/HTMLElement/node){
if ('webkitTransformStyle' in document.body.style) {
node.style.webkitTransformStyle = "preserve-3d";
}
if ('webkitTransitionProperty' in document.body.style) {
node.style.webkitTransitionProperty = "-webkit-transform";
}
};

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