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
Okay, sorry about this, but I have decided to release a breaking change. That being said I think it's unlikely to affect many people.
I've realised that I may be causing some confusion by always providing width/height values even if you aren't monitoring one of the dimensions. If you mistakenly rely on a dimension that isn't being monitored this may lead to gremlins in your code. Therefore I have decided to provide null values for any dimension that is not being monitored.
By default we only monitor width, therefore if you would like to get values for height change the configuration for your SizeMe HOC to: SizeMe({ monitorHeight: true })(YourComponent);