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 you're reporting a bug, please provide a minimal demonstration of the problem
<Sticky topOffset={<some dynamic value such as ReduxSlice.height>||<some hard coded value>}>
....
</Sticky>
[Bug Demo]( INSERT THE URL OF YOUR BUG DEMO HERE )
What is the current behavior?
the topOffset argument only takes the initial value...
What is the expected or desired behavior?
the topOffset argument should update as the props change
Why do you want this? What use case do you have?
I am not aware of the height of the component above my component. Rather, I would like to keep it dynamic.
What is your environment?
Version: Latest
Browser: Chrome based
Is there anything else I should know?
Don't think so. I am using a ResizeObserver to get the dimensions of the component, so there is a small delay before that can happen. It is not available initially
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
If you're reporting a bug, please provide a minimal demonstration of the problem
[Bug Demo]( INSERT THE URL OF YOUR BUG DEMO HERE )
What is the current behavior?
the
topOffset
argument only takes the initial value...What is the expected or desired behavior?
the
topOffset
argument should update as the props changeWhy do you want this? What use case do you have?
I am not aware of the height of the component above my component. Rather, I would like to keep it dynamic.
What is your environment?
Is there anything else I should know?
Don't think so. I am using a
ResizeObserver
to get the dimensions of the component, so there is a small delay before that can happen. It is not available initiallyThe text was updated successfully, but these errors were encountered: