Material-ui: the onClick of RaisedButton doesn't work for Safari

Created on 4 Feb 2015  ·  3Comments  ·  Source: mui-org/material-ui

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.

Most helpful comment

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

All 3 comments

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)

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ryanflorence picture ryanflorence  ·  3Comments

anthony-dandrea picture anthony-dandrea  ·  3Comments

mattmiddlesworth picture mattmiddlesworth  ·  3Comments

mb-copart picture mb-copart  ·  3Comments

joewalker picture joewalker  ·  3Comments