mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-04-03 23:51:55 +02: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");
|
$(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;
|
return;
|
||||||
}
|
}
|
||||||
if (event.which == 13) {
|
if (event.which == 13) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user