Openbravo Issue Tracking System - POS2
View Issue Details
0055058POS2Corepublic2024-03-26 17:432024-03-27 10:27
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
24Q2 
No
0055058: Ticket line if selected after being dragged vertically
When the user swipes on the ticket list component vertically to move the viewport, the line he clicked on initially will be selected even if his intention was just to swipe it in order to scroll.
In any POS2 environment (i.e. https://livebuilds.openbravo.com/context/retail_pos2_pgsql/web/pos/?terminal=VBS-2 [^]):
- Open POS2
- Open the developer tools, configure the Device toolbar to simulate a touch device (or open POS2 on a phone/tablet)
- Add many different products to the ticket so that not all lines fit in the viewport
- Swipe vertically the ticket list area to show in the viewport the lines that did not fit. Note that a line will be selected, and its context popover will be displayed
No tags attached.
Issue History
2024-03-26 17:43AugustoMauchNew Issue
2024-03-26 17:43AugustoMauchAssigned To => AugustoMauch
2024-03-26 17:43AugustoMauchTriggers an Emergency Pack => No
2024-03-26 17:43AugustoMauchStatusnew => scheduled
2024-03-26 17:49hgbotNote Added: 0162662
2024-03-27 10:27hgbotNote Added: 0162691
2024-03-27 10:27hgbotResolutionopen => fixed
2024-03-27 10:27hgbotStatusscheduled => closed
2024-03-27 10:27hgbotFixed in Version => 24Q2
2024-03-27 10:27hgbotNote Added: 0162692

Notes
(0162662)
hgbot   
2024-03-26 17:49   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1434 [^]
(0162691)
hgbot   
2024-03-27 10:27   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1434 [^]
(0162692)
hgbot   
2024-03-27 10:27   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 342e4de7896ab7978e5a82c7926affa4feb10890
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 27-03-2024 09:26:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/342e4de7896ab7978e5a82c7926affa4feb10890 [^]

Fixes ISSUE-55058: Line actions of BaseSwipeableLine should not take place when swapping

The click was already being prevented when swapping in the x axis, and now it is prevent as well
when swiping vertically

---
M web-jspack/org.openbravo.core2/src/components/ConfigSwipeableLine/BaseSwipeableLine.jsx
---