fayeed/dash_chat

[Question] Why is it necessary for scrollNotificationFunc to always return true?

Opened this issue · 0 comments

Based on our debugging this morning, our team believes we cannot wrap DashChat with RefreshIndicator because scrollNotificationFunc returns true for the NotificationListener's onNotification. This essentially suppresses scroll events and prevents them from bubbling up.

We are currently on a fork and can flip this to false for our own needs, but I'm curious:

  1. Why does this return true in the first place? It looks like it's related to adding the ScrollToBottom widget functionality: 91f4eeb
  2. Are there implications to flipping this to false that our team has not anticipated?

Thanks so much for your time and help!