only resize on initial react mount??
arthurysong opened this issue · 1 comments
arthurysong commented
Hey guys,
Is there any way the react-textfit component only resizes on the initial mount??
The component is causing a weird side effect where when I scroll really quickly on my phone the component resizes and causes the page to snap to a position on the page.
I think it's because when I scroll really quick the browser's url bar/bottom options bar disappears and that causes react-textfit component to resize, which then causes the page to snap.