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
Something I've recommended to a lot of people who don't have flexibility with the parentNode of the component is to use react-dimensions. So you could use that on the wrapper to take up the height of the parent container instead of styling it height: 100%.
Currently working on a project where the wrapper, which can be scrolled, has following styling:
In this case offset needs to be calculated like this:
instead of this:
How about a prop (boolean) relativeParentHeight?
The text was updated successfully, but these errors were encountered: