material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

RaisedButton or FlatButton stays focused after click

Open paramsingh88 opened this issue 10 years ago • 2 comments

Problem description

Any material-ui button stays in a focused state even after click or tap event has ended. It displays a white translucent overlay. It looks really bad! How can I hide it? Is there a standard way to do that? Here's a little hack on how to accomplish it. this.refs.searchBtn.refs.overlay.style.background = 'none';

screen shot 2016-07-01 at 7 22 05 pm ### Steps to reproduce ### Versions - Material-UI: ^0.15.1 - React: ^15.1.0 - Browser: Chrome

paramsingh88 avatar Jul 01 '16 13:07 paramsingh88

@paramsingh88 I couldn't reproduce the issue. Can you give a specific example and maybe provide a gif for it?

aahan96 avatar Jul 05 '16 19:07 aahan96

@paramsingh88 Closing the issue. Duplicate of #4134

aahan96 avatar Jul 05 '16 20:07 aahan96