fix inline emoji picker overflowing the screen

pull/173/head
Aevann 2023-07-27 21:32:23 +03:00
parent 8215573561
commit 7814d5d0c9
1 changed files with 2 additions and 0 deletions

View File

@ -438,6 +438,8 @@ function update_speed_emoji_modal(event)
{
const box_coords = update_ghost_div_textarea(event.target);
box_coords.x = Math.min(box_coords.x, screen_width - 150)
let text = event.target.value;
// Unused, but left incase anyone wants to use this more efficient method for emojos