mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-14 18:11:23 +01:00
Better scrolling for mention list
This commit is contained in:
parent
b4ee57f3ec
commit
5dc1c01db4
@ -1540,7 +1540,7 @@
|
||||
$(choices.get(index - 1)).addClass("selected");
|
||||
}
|
||||
}
|
||||
$("#mention-picker .mention-choice.selected")[0].scrollIntoView();
|
||||
$("#mention-picker .mention-choice.selected")[0].scrollIntoView({behavior: "instant", block: "center", inline: "center"});
|
||||
return;
|
||||
}
|
||||
if (event.which == 13) {
|
||||
|
Loading…
Reference in New Issue
Block a user