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 #2261

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 23, 2023
1 parent 115e1d2 commit d0189bd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 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
2 changes: 1 addition & 1 deletion src/components/selection_input/selection_input.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'o-invalid': isInvalid || !range.isValidRange,
'text-decoration-underline': range.isFocused and state.mode === 'select-range'
}"
t-ref="{{range.isFocused ? 'focused' : 'unfocused'}}Input"
t-ref="{{range.isFocused ? 'focusedInput' : 'unfocusedInput' + range_index}}"
/>
<button
class="o-btn o-remove-selection"
Expand Down

0 comments on commit d0189bd

Please sign in to comment.