Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] spreadsheet: fix
useSpreadsheetRect
The hook `useSpreadsheetRect` was doing a querySelector(".o-spreadsheet") as soon as it was called, instead of waiting for the `onMounted`. That meant that when creating a new spreadsheet component after destroying another, the hook would return the rect of the old spreadsheet. closes #4370 Task: 3965147 X-original-commit: 402bf1d Signed-off-by: Rémi Rahir (rar) <rar@odoo.com> Signed-off-by: Adrien Minne (adrm) <adrm@odoo.com>
- Loading branch information