Scroll to top on emoji tooltip tab switch
This commit is contained in:
parent
31122597e8
commit
b9f3986828
@ -276,6 +276,7 @@ EmojiTooltip.prototype.updateTabContents = function (tab) {
|
||||
self.contentEl.html(html.join(''));
|
||||
|
||||
if (!Config.Mobile) {
|
||||
self.contentWrapEl.nanoScroller({scroll: 'top'});
|
||||
setTimeout(function () {
|
||||
self.contentWrapEl.nanoScroller();
|
||||
}, 100);
|
||||
|
Loading…
x
Reference in New Issue
Block a user