Merge pull request #5568 from SimonBrandner/fix-15221

Increase PersistedElement's z-index
This commit is contained in:
Travis Ralston 2021-01-27 20:37:11 -07:00 committed by GitHub
commit 41068c7849
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,6 +165,7 @@ export default class PersistedElement extends React.Component {
const parentRect = parent.getBoundingClientRect();
Object.assign(child.style, {
zIndex: 9,
position: 'absolute',
top: parentRect.top + 'px',
left: parentRect.left + 'px',