Skip to content
This repository was archived by the owner on Aug 3, 2022. It is now read-only.
This repository was archived by the owner on Aug 3, 2022. It is now read-only.

iPad issue #43

@danilaramaniuk2378

Description

@danilaramaniuk2378

Switch is working with bugs on real devices (for example iPad).

To fix we can put

onClick: this._getValue() ? this._handleOnClick.bind(this) : this._handleOffClick.bind(this)

in params in _renderLabel function.

Is it make sense?

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