MinJieLiu / react-photo-view

An exquisite React photo preview component.
https://react-photo-view.vercel.app
Apache License 2.0
1.56k stars 130 forks source link

Screen Resizing doesn't change the functionality as expected #178

Open Nusab19 opened 7 months ago

Nusab19 commented 7 months ago

When the page is loaded with desktop width, it has the Arrows to navigate. But when the user resizes it to a mobile size screen, the arrows are still there. And vice-versa.

Current Output

The arrow/slider stays constant to the initial screen size.

Expected Output

The arrow/slider should update with the screen resize event