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
When using recycle-scroller's variable size mode, a "sizeField" can be defined. This sizeField, however, can only be a constant number and not a function that outs a number. I have a component where sizes vary with respective to a scale parameter and hence, I need the sizeField to be a function (synchronous) that returns a number instead. (So that I can return something like defaultSize * scale)
Clear and concise description of the problem
When using recycle-scroller's variable size mode, a "sizeField" can be defined. This sizeField, however, can only be a constant number and not a function that outs a number. I have a component where sizes vary with respective to a scale parameter and hence, I need the sizeField to be a function (synchronous) that returns a number instead. (So that I can return something like
defaultSize * scale
)Suggested solution
Currently, in variable size mode
This can be replaced by
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: