Skip to content

Help with keeping scrollLeft property in components in each row when scrolling vertically. #721

@merrylewang

Description

@merrylewang

Hi,

So I have a special use case in one particular column where there's a set scrollLeft value that is shared by the components in each cell, and that is controlled by a custom scrollbar not involved with the fixedDataTable. When I scroll vertically though, for whatever reason, the scrollLeft value gets reset to 0 for most of the rows. Once I adjust the custom scrollbar again, then whatever is in the visible window displays properly once more.

I wasn't sure how the built in vertically scrolling works in FixedDataTable, but it seems like something is happening that wipes the scrollLeft value. It seems like the rows are doing some recycling, but I'm not sure about the details.

Do you have any tips or advice?

I'm using FDT 2.0.10. And I previously tried with FDT 1.2.0 which had a similar issue but only for one of the rows that previously had "visibility: hidden" before scrolling up.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions