Openbravo Issue Tracking System - POS2
View Issue Details
0055061POS2Corepublic2024-03-27 08:282024-04-09 10:53
AugustoMauch 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
24Q3 
No
0055061: Scrolling on keymap by swiping on its items is not working as expected
The items rendered in the viewport of a keymap can be modified either by using pagination (a specific page is on at each moment) or standard scrolling.

When using standard scrolling, users can scroll either by using the scroll bar (works ok) or by dragging in the desired axis one of the items rendered in the keymap.

This last approach is not working as expected, and while the user is dragging the items are automatically scrolled back.
In any POS environment, i.e. https://livebuilds.openbravo.com/context/retail_pos2_pgsql/web/pos/?terminal=VBS-2 [^]
- Do a product search that will result in many products being found (i.e. search 'a')
- Click on a product in the last row, and drag it up. Notice that a first the keymap will scroll up as intended, but at some point the scroll will be reset
No tags attached.
Issue History
2024-03-27 08:28AugustoMauchNew Issue
2024-03-27 08:28AugustoMauchAssigned To => Triage Platform Base
2024-03-27 08:28AugustoMauchTriggers an Emergency Pack => No
2024-03-27 08:28AugustoMauchAssigned ToTriage Platform Base => AugustoMauch
2024-03-27 08:28AugustoMauchStatusnew => scheduled
2024-03-27 08:32hgbotNote Added: 0162679
2024-04-09 10:53hgbotNote Added: 0162970
2024-04-09 10:53hgbotResolutionopen => fixed
2024-04-09 10:53hgbotStatusscheduled => closed
2024-04-09 10:53hgbotFixed in Version => 24Q3
2024-04-09 10:53hgbotNote Added: 0162971

Notes
(0162679)
hgbot   
2024-03-27 08:32   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1435 [^]
(0162970)
hgbot   
2024-04-09 10:53   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1435 [^]
(0162971)
hgbot   
2024-04-09 10:53   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 2552ef89bb835d0fd802340f4e5a9a7f4995ff19
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 08-04-2024 11:51:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/2552ef89bb835d0fd802340f4e5a9a7f4995ff19 [^]

Fixes ISSUE-55061: Scroll in keymaps now works as expected

The problem was that there was some code supposed to be used when using paginated grids, that was being
executed as well on grids that used standard scrolling

---
M web-jspack/org.openbravo.core2/src/components/BaseKeymap/hooks/usePagination.js
---