Fix sending recent sticker

This commit is contained in:
Eduard Kuzmenko 2021-07-02 20:52:44 +03:00
parent 99085abcd9
commit a179dd3f09
2 changed files with 8 additions and 1 deletions

View File

@ -231,7 +231,7 @@ export default class StickersTab implements EmoticonsTab {
//let stickersDiv = contentStickersDiv.querySelector('.os-content') as HTMLDivElement;
this.recentDiv = document.createElement('div');
this.recentDiv.classList.add('sticker-category', 'disable-hover');
this.recentDiv.classList.add('sticker-category', 'stickers-recent');
let menuWrapper = this.content.previousElementSibling as HTMLDivElement;
this.menu = menuWrapper.firstElementChild as HTMLUListElement;

View File

@ -14,6 +14,7 @@
overflow: hidden;
flex: 1 1 auto;
max-height: 100%;
user-select: none;
@include respond-to(esg-top) {
position: absolute !important;
@ -179,6 +180,12 @@
.category-title {
cursor: pointer;
}
&.stickers-recent {
.category-title {
pointer-events: none;
}
}
/* &::after {
content: "";