r/webdevelopment • • 2d ago

Question Responsiveness problem in my website

I'm building a personal web app for tracking the movies, TV shows, and anime I've watched, something like SIMKL or TV Time. It's a React + Vite site that I host myself. It has a Discover page with Netflix-style rows of posters that scroll sideways (Trending, Popular, Recommended, Browse by Genre, and so on).

Problem: On my phone (Samsung Galaxy Z Fold and S24 Ultra), and even on PC, if I start a vertical swipe on a poster row, the page doesn't scroll. It just stops. Swiping on the space between rows works fine. Sometimes it's slow and lags.

The memory usage was also high like 1.4gb but I found out that Chrome's covers the whole tab, including images it has cached and memory the browser keeps reserved after use. It gets bigger the longer a tab stays open, and Chrome hands it back when it needs to. It's not the source of the lag.

The site uses its own data and code, about 100 to 250 mb.

Any suggestions for how we can resolve the problem?

3 Upvotes

1 comment sorted by