Skip to content

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

@mikegordienko-devpronet

Description

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";
}
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions