-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
Description
I've added react-fastClick to a React form-based app. We hd the same issue as in #22 and removed the plugin until this issue was fixed. Since adding it back we have noticed the following behaviour on iPhone iOS 9.3.1 Safari (but I'm not sure this issue is device-specific):
- We have a radio button group with radio buttons that when clicked (or their labels clicked) updates the value in a text field. When that text field is focused and the mobile keyboard is rendered, the fastClick stops working for all controls in the React component (not just the radio buttons but all other rendered clickable controls), as if react-fastClick has been been de-initialised. The text input and radio buttons share a change handler, but note that this behaviour is observed even if the text input field is not changed, just focusing on it causes the issue
I am initialising fastClick with:
import 'react-fastclick';
on index.js which contains a root component which renders the react router routes (on one of which the above behaviour is manifested) and does all the other set up. This root component is in turn rendered. So basically we are initialising react-fastClick at the very top of the application.
Reactions are currently unavailable