You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thank you for helping on the last issue I had on adaptor.reload(index) on a dynamic height componenet (#344).
I'm encountering another issue, this time related to the startIndex in settings.
Description
The startIndex in the settings does bring me to the target index, but sometimes it cuts off all the items above the startIndex. Other times, it cuts off only two items above it.
Expected Behavior
The startIndex should scroll to the target index while preserving all items in the list.
Issue Demo
Please check this video,:
The list starts with "Banner Installation". When I initialize the scroll by clicking the last item, "Travel", it correctly brings me to that item, but everything above "First Service" is cut off.
Here is another video that shows the same issue and all the items above the target item are missing.
When initializing the scroll by clicking other items, some of them result in missing items above the clicked one.
Thank you.
The text was updated successfully, but these errors were encountered:
It looks like there might be an indexing issue, but I can’t confirm without a demo. In most cases, the datasource logic is the place where you need to have a fix. I have prepared a demo that might help: https://stackblitz.com/edit/ngx-ui-scroll-start-index-demo. It shows an example of "bad" and "good" datasource logic in regard of start-index API. If this doesn't help, I would ask you to
Hello,
First of all thank you for helping on the last issue I had on adaptor.reload(index) on a dynamic height componenet (#344).
I'm encountering another issue, this time related to the
startIndex
insettings
.Description
The
startIndex
in thesettings
does bring me to the target index, but sometimes it cuts off all the items above the startIndex. Other times, it cuts off only two items above it.Expected Behavior
The
startIndex
should scroll to the target index while preserving all items in the list.Setup
The EstimateOption type:
Issue Demo
Please check this video,:
The list starts with "Banner Installation". When I initialize the scroll by clicking the last item, "Travel", it correctly brings me to that item, but everything above "First Service" is cut off.
Here is another video that shows the same issue and all the items above the target item are missing.
When initializing the scroll by clicking other items, some of them result in missing items above the clicked one.
Thank you.
The text was updated successfully, but these errors were encountered: