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
Is your feature request related to a problem? Please describe.
Yes. Some infinite scroll libraries require to put an id on the scrollable target, to allow them to check when to load the next page.
Describe the solution you'd like
Some way of passing props to the inner container, like innerProps or innerAttributes, so that an id can be set on first render.
Describe alternatives you've considered
Querying the dom and setting the id, but that would require to defer showing the infinite scroll component until that is done, and generally feels like a bad solution.
Additional context
The lib in question is react-infinite-scroll-component.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Yes. Some infinite scroll libraries require to put an id on the scrollable target, to allow them to check when to load the next page.
Describe the solution you'd like
Some way of passing props to the inner container, like innerProps or innerAttributes, so that an id can be set on first render.
Describe alternatives you've considered
Querying the dom and setting the id, but that would require to defer showing the infinite scroll component until that is done, and generally feels like a bad solution.
Additional context
The lib in question is react-infinite-scroll-component.
The text was updated successfully, but these errors were encountered: