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
Describe the bug
calling update on disabled shuffleInstance does not relayout.
I'm not sure if you consider this a bug or if it's by design but I disable the shuffle right after initialization because I don't won't to rely on window.resize, rather I am using ResizeObserver for a more performant way. I want to call update but this does nothing as long as the instance is disabled.
I would love to force a re-layout whenever I call the update method (maybe consider to extend update(force))
Don't know what you think about it. Right now, I have to call .enable() and .disable() immediate in my ResizeObserver callback to trigger what I try to achieve.
The text was updated successfully, but these errors were encountered:
Shuffle version
v5.2.3
Describe the bug
calling
update
on disabledshuffleInstance
does not relayout.I'm not sure if you consider this a bug or if it's by design but I disable the shuffle right after initialization because I don't won't to rely on window.resize, rather I am using ResizeObserver for a more performant way. I want to call
update
but this does nothing as long as the instance is disabled.I would love to force a re-layout whenever I call the update method (maybe consider to extend
update(force)
)Don't know what you think about it. Right now, I have to call .enable() and .disable() immediate in my ResizeObserver callback to trigger what I try to achieve.
The text was updated successfully, but these errors were encountered: