Fix Stickerpicker layout crossing multiple CSS stacking contexts (#12126)

This commit is contained in:
Michael Telatynski 2024-01-10 02:19:36 +00:00 committed by GitHub
parent 3bfb33fe48
commit 57bb64f2d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -356,6 +356,7 @@ export default class Stickerpicker extends React.PureComponent<IProps, IState> {
menuPaddingLeft={0}
menuPaddingRight={0}
zIndex={STICKERPICKER_Z_INDEX}
mountAsChild={true}
{...this.props.menuPosition}
>
<GenericElementContextMenu element={this.getStickerpickerContent()} onResize={this.onFinished} />