finos/regular-table

On a wide table, last two columns don't show if the window size is almost as wide as table

Closed this issue · 1 comments

On a wide table, the last two columns don't show, nor does a horizontal scroll show, if the window size is almost as wide as table. To get the scroll bar, you need to shrink the window size to cover the last two columns on the right and then the scroll will show, giving access to the last two columns. But unless you know those columns exist, you don't know to resize the window to grab these columns. In more concrete terms, if you have a ten column table and the window size allows 8 columns to be displayed, the 9th and 10th are hidden and no horizontal scroll appears. If you expand the window, they are there. If you shrink the window to 7 or less columns visible, the scroll appears giving you access to columns 7, 8, 9 and 10.

This is occurring with 0.4.1, 0.4.2 and latest Chrome on Mac, as well as an older chrome that comes with QT5 on linux.
Attached are three screen shots. I have a test case but attaching it is not working out well. I can retry that if need be. The styling added by me is minimal and there is nothing on the page but the table to interfere.

Happy to add anything to aid in discovery of what is going wrong. I can post the test case if need be.

Here is the actual right corner of the table. 33 is the 3rd to last column data. The strings are the 2nd to last column. The larger numbers are the last column.
Screen Shot 2022-01-25 at 4 53 58 PM
Here is the missing scroll bar at the bottom to move the table to left to get to last two right most columns. You can see part of the 2nd to last column here and still no scroll bar to get to the right.
Screen Shot 2022-01-25 at 4 53 46 PM
Shrinking the window enough allows you to get the scroll, which would allow one to get to the right most columns.
Screen Shot 2022-01-25 at 4 53 19 PM

This is now fixed in at least 0.5.6. It probably was fixed in an earlier version, I am just checking the latest.