Skip to content

Commit 26ee3c0

Browse files
committed
[FIX] point_of_sale: overflowing barcode scanner
After the redesign of pos, opening the barcode scanner on mobile would cause an issue in the page alignement. closes odoo#176466 Task: 4110781 Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
1 parent 9b407cd commit 26ee3c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

addons/point_of_sale/static/src/app/screens/product_screen/camera_barcode_scanner.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export class CameraBarcodeScanner extends BarcodeVideoScanner {
88
this.barcodeScanner = useService("barcode_reader");
99
this.sound = useService("sound");
1010
this.props = {
11+
...this.props,
1112
facingMode: "environment",
1213
onResult: (result) => this.onResult(result),
1314
onError: console.error,

0 commit comments

Comments
 (0)