Openbravo Issue Tracking System - POS2
View Issue Details
0051802POS2POSpublic2023-03-08 11:182023-03-22 17:24
ablasco 
ablasco 
normalmajorhave not tried
closedfixed 
5
 
23Q2 
No
0051802: Responsive Toolbar - Scroll threshold to avoid padding difference in container for Responsive Toolbar
In Responsive Toolbar there is a difference to calculate between scroll width and container width.

Sometimes, the container is affected with additional padding and math involved is wrong.

An additional padding with 1 pixel solved badly in CSS rule for Responsive Toolbar.

This padding solves responsive Toolbar behavior, but it breaks styling.

We should implement a threshold in the calculation to avoid this difference.
*
Add tiny threshold in scroll diff calculation. NO CSS rule.
No tags attached.
Issue History
2023-03-08 11:18ablascoNew Issue
2023-03-08 11:18ablascoAssigned To => ablasco
2023-03-08 11:18ablascoTriggers an Emergency Pack => No
2023-03-08 11:24hgbotNote Added: 0147371
2023-03-22 17:24hgbotResolutionopen => fixed
2023-03-22 17:24hgbotStatusnew => closed
2023-03-22 17:24hgbotNote Added: 0147847
2023-03-22 17:24hgbotFixed in Version => 23Q2
2023-03-22 17:24hgbotNote Added: 0147848
2023-03-22 17:24hgbotNote Added: 0147849

Notes
(0147371)
hgbot   
2023-03-08 11:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1003 [^]
(0147847)
hgbot   
2023-03-22 17:24   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1003 [^]
(0147848)
hgbot   
2023-03-22 17:24   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 9e91a7e3013705c94f1f609abb84977f6dbe816a
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 22-03-2023 17:06:41
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/9e91a7e3013705c94f1f609abb84977f6dbe816a [^]

Fixes ISSUE-51802 ScrollThreshold to avoid padding in container in ResponsiveToolbar

---
M web-jspack/org.openbravo.core2/src/core/useIsOverflow.js
---
(0147849)
hgbot   
2023-03-22 17:24   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 214e6393111a7839fcbf0f37f4e1d5a951122b09
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 22-03-2023 17:07:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/214e6393111a7839fcbf0f37f4e1d5a951122b09 [^]

Related to ISSUE-51802: Rephasing code comment to make the reason of this change clearer

---
M web-jspack/org.openbravo.core2/src/core/useIsOverflow.js
---