Skip to content

Footer and NavBar ResizeObserver

Compare
Choose a tag to compare
@JakeSidSmith JakeSidSmith released this 11 Nov 16:22
· 177 commits to master since this release
5bad5c8

Instead of listening for window resizes we now observe the elements themselves: #345

This may require a MutationObserver polyfill if you need to support older browsers e.g. IE 10.

If you don't already polyfill Map and requestAnimationFrame (which are required by React) you will also need polyfills for them.