<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 a popover is closed, a document that is longer than the viewport's height should remain at its current position</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Under certain scenarios, the page will jump to a previously clicked position.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">This can be reproduced on the <a href="https://material-ui-next.com/demos/popovers/" rel="nofollow">Popover demo page</a>. I have reproduced this on Windows as well. I have not been able to reproduce it on Firefox / Safari.<br>
On the demo page, in Chrome:</p>
<ol dir="auto">
<li>Click 'Open Popover' under the section 'Anchor Playground'.</li>
<li>Click outside of popover to close it.</li>
<li>Scroll down to section 'Mouse over interaction'</li>
<li>Hover over 'Hover with Popover.'</li>
<li>Mouse out of 'Hover with Popover.'</li>
<li>Page will snap up to top of page.</li>
</ol>
<h2 dir="auto">Context</h2>
<p dir="auto">In my app, this error seems to be triggered only if I click on certain elements, scroll the page to a different part of the document and then trigger/close a new popover. I can't determine whether this is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="255098198" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/8040" data-hovercard-type="issue" data-hovercard-url="/mui/material-ui/issues/8040/hovercard" href="https://github.com/mui/material-ui/issues/8040">#8040</a>, but due to the browser-specific nature of this issue, I suspect it isn't.</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.30</td>
</tr>
<tr>
<td>React</td>
<td>16.2.0</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 63.0.3239.132 (extensions disabled)</td>
</tr>
<tr>
<td>OS</td>
<td>macOS 10.13.2 + Windows 10 (Fall Creators, v1709)</td>
</tr>
</tbody>
</table>
<p dir="auto">For a specific tab bar, I wanted to tweak the color of not-currently-selected tabs to make it more different from the disabled state. Using the <code class="notranslate">classes</code> system, I had to override <code class="notranslate">rootPrimary</code> (expected), but since that style is applied to all three states of the tab, I had to also override <code class="notranslate">rootPrimaryDisabled</code> and <code class="notranslate">rootPrimarySelected</code>.</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">It would be easier if there was an extra class <code class="notranslate">rootPrimaryUnselected</code> that I could use to set just the attributes specific to the unselected state, while <code class="notranslate">rootPrimary</code> would contain attributes common to all three states.</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.23</td>
</tr>
<tr>
<td>React</td>
<td>15.6.2</td>
</tr>
<tr>
<td>browser</td>
<td></td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table>