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

iPad issue #43

Open
danilaramaniuk2378 opened this issue Jun 20, 2017 · 4 comments
Open

iPad issue #43

danilaramaniuk2378 opened this issue Jun 20, 2017 · 4 comments

Comments

@danilaramaniuk2378
Copy link

danilaramaniuk2378 commented Jun 20, 2017

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?

@Julusian
Copy link
Owner

This might be resolved in the latest release. I found that clicking on the label would not work correctly due to conflicting mouse and touch events.
Feel free to reopen if you are still having issues.

@danilaramaniuk2378
Copy link
Author

@Julusian unfortunately we still have an issue. When user click on white square all things are working fine. But in case click on "OFF" (or "ON") square we still have a bug on iPad

Note: I can't reopen an issue. (you cannot re-open your own issues if a repo collaborator closed them)

@Julusian Julusian reopened this Aug 22, 2017
@Julusian
Copy link
Owner

I now have access to an iPhone, which I have tested on and I still cannot reproduce this.
Do you have some example code I could look at? Or have you tried it with the examples page included in this repo?

@squadette
Copy link

JFYI: tested last release with iPad, iOS 10.3, both Chrome and Safari, w/o issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants