When resizing from mobile to desktop or visa-versa. The progress stops working and only returns 0 or 1. This doesn't seem to happen when you resize just a little bit. Only large changes.
You can see it happening by resizing the example here in chrome or firefox (edge seems to work for some reason) https://russellsamora.github.io/scrollama/progress/