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
If using Scrollable as the Modal's content, it's onScrolledToBottom handler won't get triggered.
The Modal component implements it's own Scrollablehere
Maybe exposing that implementation's handler as a new prop on Modal may enable consumers of Modal to play around with infinite scrolling, for example.
Examples
Here is an example that uses Scrollable with a handler wrapped within the Modal. The Scrollable handler does not get called when reaching the bottom.
The issue seems to be related to the content within Scrollable being dynamically generated, because here is an example that has fixed content where the behavior is as expected.
Modal
If using Scrollable as the Modal's content, it's
onScrolledToBottom
handler won't get triggered.The Modal component implements it's own Scrollable here
Maybe exposing that implementation's handler as a new prop on Modal may enable consumers of Modal to play around with infinite scrolling, for example.
Examples
Here is an example that uses Scrollable with a handler wrapped within the Modal. The Scrollable handler does not get called when reaching the bottom.
The issue seems to be related to the content within Scrollable being dynamically generated, because here is an example that has fixed content where the behavior is as expected.
Here is an example of Scrollable on its own triggering the handler.
The text was updated successfully, but these errors were encountered: