Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ngTouch check for blur() function before using it. #11261

Closed
@leandroz

Description

@leandroz

I am using ngTouch and i have an svg element on my mobile app. The problem is that svg elements don't have blur() function.
Solution:

if (typeof tapElement.blur === 'function') {
    tapElement.blur();
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions