Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control element method does not work in Safari Version 11.0 (12604.1.38.1.7) #141

Open
juanpaco opened this issue Oct 30, 2017 · 4 comments

Comments

@juanpaco
Copy link

Table of Contents

Expected Behavior

Click on the control element example should load the calendar.

Current Behavior

Click on the control element example does nothing

Possible Solution

Steps to Reproduce (for bugs)

  1. Navigate to http://pushtell.github.io/react-bootstrap-date-picker/
  2. Click on the Control Element example

Context

Whatever breaks this example also breaks similar usage in my app. When using the Control Element method, users can't use the date control.

Your Environment

control-element

@mbrimmer83
Copy link

@juanpaco Have you had any luck debugging this issue? I am experiencing this same issue in Safari.

@juanpaco
Copy link
Author

I haven't, no. I ended up using https://github.com/YouCanBookMe/react-datetime instead.

@mbrimmer83
Copy link

Ok, thanks.

@DanPfeifer
Copy link

DanPfeifer commented Apr 19, 2018

My fix for this, setting the onClick event to call the onFocus function.

const CustomControl = ({...props}) => {
  return (<Button onClick={props.onFocus} {...props}>{props.value}</Button>);
};

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

No branches or pull requests

3 participants