[FIX] mail: picker shift-selection not reset pos
task-3473164 closes odoo/odoo#133192 X-original-commit: bfb1d9809cf5b04e22e581d38f7972e33ffa74d3 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -303,8 +303,8 @@ export class EmojiPicker extends Component {
|
||||
this.state.recent[codepoints] ??= 0;
|
||||
this.state.recent[codepoints]++;
|
||||
browser.localStorage.setItem("web.emoji.frequent", JSON.stringify(this.state.recent));
|
||||
this.gridRef.el.scrollTop = 0;
|
||||
if (!ev.shiftKey) {
|
||||
this.gridRef.el.scrollTop = 0;
|
||||
this.props.close?.();
|
||||
this.props.onClose?.();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user