[MGNLVA-11] CLONE - Columns "drift" sizes when ordering a listview Created: 28/Jul/20  Updated: 10/Nov/20  Resolved: 28/Jul/20

Status: Closed
Project: Magnolia Vaadin Compatibility Addons
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3.5

Type: Bug Priority: Medium
Reporter: Lam Nguyen Bao Assignee: Lam Nguyen Bao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLUI-5889 Columns "drift" sizes when ordering a... Closed
Relates
relates to MGNLUI-6398 Remove grid scroll extension Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: M6 UI & UX Improvements
Sprint: CM & OC 7, CM & OC 8
Story Points: 0

 Description   

When clicking the column headers to order a listview, each click resizes the columns.
Attached video recorded using Chrome 81.0.4044.138 and a light module available from Git.



 Comments   
Comment by Lam Nguyen Bao [ 28/Jul/20 ]

Root cause:
This issue is caused by GridScrollExtension.  Whenever column is ordered then the last column size is recalculated,  but logic to calculating "totalWidth" is missing the last column

Fix: correct "totalWidth" by including size of last columns

Generated at Mon Feb 12 09:58:26 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.