Fix StickerButton
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
f1b05afe62
commit
79c52847cd
3 changed files with 44 additions and 28 deletions
|
@ -61,7 +61,12 @@ export class MainHeader extends React.Component<PropsType, StateType> {
|
|||
}
|
||||
};
|
||||
|
||||
public showAvatarPopup = (): void => {
|
||||
public showAvatarPopup = (
|
||||
event: React.MouseEvent<HTMLButtonElement, MouseEvent>
|
||||
): void => {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
||||
const popperRoot = document.createElement('div');
|
||||
document.body.appendChild(popperRoot);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue