antoinelin / react-locomotive-scroll

A locomotive-scroll React wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transform is undefined - Firefox v105

emielphntm opened this issue · comments

Hiya,

Thank you for making this library, we (Phantom) are using it on a project in production now for over a year. It's been great, but since the latest Firefox version, we're getting some unexpected behaviour. If you open up a project using Firefox v105 with the latest (V0.2.2) react-locomotive-scroll, you'll see that there's a Typescript error saying: transform is undefined.
In production this results in no scroll once you navigate on a next.js app, but if you run a development build, you see it straight away.

I'm not sure if it's just a Typescript issue, since it's only happening on Firefox. I don't think Locomotive-scroll or react-locomotive-scroll have changed much recently, so it must be a Firefox issue? 🤔 Happy to discuss!

I know you're looking for contributors, I'm happy to assist you on this as well. If you'd be able to brief me a little bit on the library and how it's built.

Thanks!
Emiel