AndreasFaust / react-ticker

React Ticker is a lightweight, performant React component, that moves text, images and videos infinitely like a newsticker.
https://andreasfaust.github.io/react-ticker/
288 stars 50 forks source link

resizing causes full crash with typeError: Cannot read properties of null (reading 'height') #33

Closed codyscott1 closed 2 years ago

codyscott1 commented 2 years ago

it takes quite a bit of resizing to get this to crash but eventually it happens. image ticker code is here setting a hardcoded height param may fix it but I need the ticker to resize on different screen sizes. Ideas?

i3web commented 2 years ago

I have the same problem。

codyscott1 commented 2 years ago

resolved in https://github.com/AndreasFaust/react-ticker/pull/35