v2.4.0
- Added validation for props
initialViewportStart
,initialViewportEnd
,viewportMin
andviewportMax
. Throws an error whenever the values are set in the wrong order to prevent browser crash (#13).
Also throws an error if the initialViewport is exceeding the viewportMin/viewportMax range.
Full Changelog: v2.3.1...v2.4.0