-
Notifications
You must be signed in to change notification settings - Fork 381
Open
Description
I'm submitting a ...
- bug report or may be
- feature request
- support request
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
Metadata
Metadata
Assignees
Labels
No labels