<p dir="auto">The Button's ripple effect used to open a modal remains "pulsing" if I close it using the "esc" key.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Ripple effect should disappear after the modal is closed.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Ripple effect remains</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">Actually you can reproduce it with the default sandBox link provided:<br>
<a href="https://codesandbox.io/s/github/mui-org/material-ui/tree/v1-beta/examples/create-react-app" rel="nofollow">https://codesandbox.io/s/github/mui-org/material-ui/tree/v1-beta/examples/create-react-app</a></p>
<ol dir="auto">
<li>click on the button "Super secret password"</li>
<li>after the modal is opened, enter "esc" and watch the button ripple effect "pulsing"</li>
</ol>
<h2 dir="auto">Context</h2>
<p dir="auto">Minor issue, just aesthetic.</p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.27</td>
</tr>
<tr>
<td>React</td>
<td>16.2.0</td>
</tr>
<tr>
<td>browser</td>
<td>Version 63.0.3239.132 (Build officiel) (64 bits)</td>
</tr>
<tr>
<td>OS</td>
<td>Windows 10 Entreprise</td>
</tr>
</tbody>
</table>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>

<p dir="auto">When using a Button to open a Dialog, when the Dialog is closed with either the escape key or clicking outside of it, the Button should look like it did before the click.</p>
<h2 dir="auto">Current Behavior</h2>

<p dir="auto">When using a Button to open a dialog, when the Dialog is closed with the escape key, the button displays a ripple effect similar to if it was clicked. This does not happen when the dialog is closed by clicking outside of it.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>

<ol dir="auto">
<li>Using <a href="https://codesandbox.io/s/m48ywqxnkp" rel="nofollow">https://codesandbox.io/s/m48ywqxnkp</a> from the documentation, click the <em>Open Simple Dialog</em> button</li>
<li>When the Dialog appears, press escape to close the dialog</li>
<li>The ripple effect is displayed in the button until something else is clicked</li>
</ol>
<p dir="auto">The alert dialog demo does not seem to have the same behavior: <a href="https://codesandbox.io/s/3vwx0l7kjq" rel="nofollow">https://codesandbox.io/s/3vwx0l7kjq</a></p>
<h2 dir="auto">Context</h2>

<p dir="auto">This does not impact usability, just an aesthetic issue.</p>
<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.41</td>
</tr>
<tr>
<td>React</td>
<td>16.3.1</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 65.0.3325.181,  Firefox 59.0.2</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table>