Skip to content

Consider removing Mobile Safari empty onclick hack #12989

@gaearon

Description

@gaearon

See #238 and #1536 for historical context.

Is that still relevant? The code is here:

// TODO: Only do this for the relevant Safaris maybe?
node.onclick = emptyFunction;

Even if it's relevant, can we just feature test it, and not do this hack on other browsers? Seems like a waste of memory for event handlers (even though the function is the same every time).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions