Browse Source

Fix sending recent sticker

master
Eduard Kuzmenko 3 years ago
parent
commit
a179dd3f09
  1. 2
      src/components/emoticonsDropdown/tabs/stickers.ts
  2. 7
      src/scss/partials/_emojiDropdown.scss

2
src/components/emoticonsDropdown/tabs/stickers.ts

@ -231,7 +231,7 @@ export default class StickersTab implements EmoticonsTab { @@ -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;

7
src/scss/partials/_emojiDropdown.scss

@ -14,6 +14,7 @@ @@ -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 @@ @@ -179,6 +180,12 @@
.category-title {
cursor: pointer;
}
&.stickers-recent {
.category-title {
pointer-events: none;
}
}
/* &::after {
content: "";

Loading…
Cancel
Save