Skip to content

Commit

Permalink
[FIX] config: bump owl version
Browse files Browse the repository at this point in the history
catching up to odoo version 2.0.9

closes #2258

Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
  • Loading branch information
rrahir committed Mar 22, 2023
1 parent a17319c commit 6a3b226
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
11 changes: 7 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"xmlSelfClosingSpace": false
},
"dependencies": {
"@odoo/owl": "2.0.3",
"@odoo/owl": "2.0.9",
"bootstrap": "^5.1.3"
},
"jest": {
Expand Down
3 changes: 3 additions & 0 deletions src/components/grid_overlay/grid_overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ export class GridOverlay extends Component<Props, SpreadsheetChildEnv> {
onMounted(() => {
resizeObserver.observe(this.gridOverlayEl);
});
onWillUnmount(() => {
resizeObserver.disconnect();
});
useTouchMove(this.gridOverlay, this.props.onGridMoved, () => {
const { scrollY } = this.env.model.getters.getActiveSheetDOMScrollInfo();
return scrollY > 0;
Expand Down

0 comments on commit 6a3b226

Please sign in to comment.