Position sticker picker correctly
This commit is contained in:
parent
31b3b2e2ed
commit
9018973f15
2 changed files with 13 additions and 11 deletions
|
@ -43,6 +43,7 @@ const PERSISTED_ELEMENT_KEY = "stickerPicker";
|
|||
interface IProps {
|
||||
room: Room;
|
||||
showStickers: boolean;
|
||||
menuPosition?: any;
|
||||
setShowStickers: (showStickers: boolean) => void;
|
||||
}
|
||||
|
||||
|
@ -407,6 +408,7 @@ export default class Stickerpicker extends React.PureComponent<IProps, IState> {
|
|||
menuPaddingLeft={0}
|
||||
menuPaddingRight={0}
|
||||
zIndex={STICKERPICKER_Z_INDEX}
|
||||
{...this.props.menuPosition}
|
||||
>
|
||||
<GenericElementContextMenu element={this.getStickerpickerContent()} onResize={this.onFinished} />
|
||||
</ContextMenu>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue