rafgraph / react-router-hash-link

Hash link scroll functionality for React Router
https://react-router-hash-link.rafgraph.dev
MIT License
732 stars 62 forks source link

The flight position shifts when the image is not loaded. #94

Closed yuya-tani closed 2 years ago

yuya-tani commented 2 years ago

I am using this library conveniently. thank you.

The question is, if you jump to the link destination of the in-page link with a hash If there is an image on that page, I think that the height of that image cannot be taken into consideration (because the image will be loaded later?). Is there a workaround?

Page A

Page B

Best Regard.