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
I tried to implement a reversed vertical scrolling behaviour using DynamicScroller and infinite scroll behaviour like in the average chat. I also checked the Chat demo before the implementation.
The first thing to note is that the chat demo doesn't contain the infinite scroll behaviour like in the real chats. Also, during the stream, the scroll position is always being reset to the bottom.
Approaches I used:
flex-direction: column-reverse applied to the scroller element. this causes the items to disappear from the view at all.
calling scrollToBottom after the scroller init which works well only with the items that have a fixed height (for example, when the images are rendered, the scrollToBottom doesn't actually scroll to the bottom and the scroll position is somewhere in the middle of the container). Also, when the infinite scroll logic adds new items to the list, the scroll position is reset to the top position of the scroll container.
page mode combined with flex-direction: column-reverse. works, but causes scrolling glitches
Am I missing something or this case was not covered? It would be great to have a working example. FYI the discussions page is not working in this repo 😢
Same error here. In my case, its not required to reach the bottom to starts to glitch when scrolling up.
I'm using Ionic + Vue, and it seams the problem only occurs when using mobile devices, like Safari for iOS. Safari for macOS, or Google Chrome does not reproduces the error.
Clear and concise description of the problem
I tried to implement a reversed vertical scrolling behaviour using DynamicScroller and infinite scroll behaviour like in the average chat. I also checked the Chat demo before the implementation.
The first thing to note is that the chat demo doesn't contain the infinite scroll behaviour like in the real chats. Also, during the stream, the scroll position is always being reset to the bottom.
Approaches I used:
flex-direction: column-reverse
applied to the scroller element. this causes the items to disappear from the view at all.scrollToBottom
after the scroller init which works well only with the items that have a fixed height (for example, when the images are rendered, thescrollToBottom
doesn't actually scroll to the bottom and the scroll position is somewhere in the middle of the container). Also, when the infinite scroll logic adds new items to the list, the scroll position is reset to the top position of the scroll container.flex-direction: column-reverse
. works, but causes scrolling glitchesAm I missing something or this case was not covered? It would be great to have a working example. FYI the discussions page is not working in this repo 😢
Suggested solution
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: