Skip to content
This repository

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

Open
mikegordienko-devpronet opened this Issue · 0 comments

1 participant

mikegordienko-devpronet
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
Something went wrong with that request. Please try again.