Closed brandongregoryscott closed 1 year ago
Name | Link |
---|---|
Latest commit | 8c6cd3f47fb81407ac1a1cf7e9936a89652d8f28 |
Latest deploy log | https://app.netlify.com/sites/evergreen-storybook/deploys/63e170fa94c65b0009719c39 |
Deploy Preview | https://deploy-preview-1612--evergreen-storybook.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Overview
Resolves #1556 - the event from
resize
andscroll
events was being passed as the first parameter toupdate
, which would cause aNaN
error. Since we're not using the event for anything (just looking to recalculate the position when scrolling or resizing the window), I wrapped theupdate
call in a function.Tested using the minimal reproduction code linked in the issue.
Screenshots (if applicable)
Documentation