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

the onClick of RaisedButton doesn't work for Safari #307

Closed
pola88 opened this issue Feb 4, 2015 · 3 comments · May be fixed by javifelices/material-ui#6 or javifelices/material-ui#11
Closed

the onClick of RaisedButton doesn't work for Safari #307

pola88 opened this issue Feb 4, 2015 · 3 comments · May be fixed by javifelices/material-ui#6 or javifelices/material-ui#11
Labels
browser: Safari component: button This is the name of the generic UI component, not the React module!

Comments

@pola88
Copy link

pola88 commented Feb 4, 2015

Hi guys,

I have the following code:

<mui.RaisedButton key='signin-button' className="pull-right btn btn-default" label="LogIn" onClick={this._onFormSubmit} />

I tested on safari and the function is not called. It works properly in the other browsers (Chrome, Firefox). The only way to call the function was add the property onTouchTap

Do you know what I am doing wrong?
Thanks in advance.

@gianu
Copy link

gianu commented Feb 4, 2015

Hi all!

I have the very same problem, in fact in the home page: (http://callemall.github.io/material-ui/#/) the Github button and the github icon does not work (but the demo button DOES work).

Here is an example I just recorded: http://cl.ly/ZcaN

I'm using 8.0.3 on OS X (10.10.2)

@sunitJindal
Copy link

Hey guys,
I think the issue is back. Button click on safari is still problematic. On Chrome its working fine, but on safari clicks are still getting lost. This happens especially, when you click around the corner/edges of the button

@qwertypants
Copy link

I was able to get this working by using the onTouchTap event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser: Safari component: button This is the name of the generic UI component, not the React module!
Projects
None yet
5 participants