Openbravo Issue Tracking System - POS2
View Issue Details
0046773POS2Corepublic2021-05-21 09:512022-02-01 08:05
jarmendariz 
Triage Platform Base 
normalminoralways
acknowledgedopen 
5
 
 
No
0046773: Scroll position in grid changes when resizing window
In any Grid with scrollbar, move to the bottom of the list. Then resize the window and notice that the scrollbar is moved somewhere in the middle or the top instead of preserving its position.
See above. Also it is shown in the following video: https://www.youtube.com/watch?v=0pdhIcBfj0M [^]
No tags attached.
Issue History
2021-05-21 09:51jarmendarizNew Issue
2021-05-21 09:51jarmendarizAssigned To => platform
2021-05-21 09:51jarmendarizTriggers an Emergency Pack => No
2021-05-21 18:42guilleaerResolution time => 1625436000
2021-05-21 18:42guilleaerStatusnew => acknowledged
2021-07-14 13:29dmiguelezResolution time1625436000 => 1633039200
2021-07-20 10:56jarmendarizAssigned Toplatform => jarmendariz
2021-07-20 15:52agonzalezNote Added: 0130608
2021-08-19 15:16jarmendarizAssigned Tojarmendariz => platform
2022-02-01 08:05alostaleAssigned Toplatform => Triage Platform Base

Notes
(0130608)
agonzalez   
2021-07-20 15:52   
It seems like this behaviour is caused by a browser functionality called "Overflow anchoring" that makes the scrollbar to maintain its position when the height of the container changes.

Even when disabling or enabling this overflow anchoring on certain elements, the scroll is not being maintained when resizing the window.

More info here: https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-anchor [^]