odoo/o-spreadsheet#1824

Created by fw-bot
Merged at ae0e8d9ed1d5def3cd1c3365cda8ecf0134e9223

Statuses:

label
odoo:master-saas-15.3-fix-selection-again-no-days-off-rar-AECW-fw
head
98f81f6f881bca3332a719e471ce0a865d34e5f6
merged
2 years ago by BI, RĂ©mi Rahir (rar)
odoo/o-spreadsheet
saas-15.3 #1775
16.0 #1823
master #1824

[FW][FIX] Selection: Altering selection should scroll the viewport

## Description:

description of this task, what is implemented and why it is implemented that way.

Odoo task ID : [3050101](https://www.odoo.com/web#id=3050101&action=333&active_id=2328&model=project.task&view_type=form&cids=1&menu_id=4720)

## review checklist

- [ ] feature is organized in plugin, or UI components
- [ ] support of duplicate sheet (deep copy)
- [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
- [ ] in model/UI: ranges are strings (to show the user)
- [ ] undo-able commands (uses this.history.update)
- [ ] multiuser-able commands (has inverse commands and transformations where needed)
- [ ] new/updated/removed commands are documented
- [ ] exportable in excel
- [ ] translations (\_lt("qmsdf %s", abc))
- [ ] unit tested
- [ ] clean commented code
- [ ] track breaking changes
- [ ] doc is rebuild (npm run doc)
- [ ] status is correct in Odoo

Forward-Port-Of: odoo/o-spreadsheet#1823
Forward-Port-Of: odoo/o-spreadsheet#1775