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

reflog picture reflog  路  3Comments

joewalker picture joewalker  路  3Comments

ryanflorence picture ryanflorence  路  3Comments

activatedgeek picture activatedgeek  路  3Comments

anthony-dandrea picture anthony-dandrea  路  3Comments