r/webdevelopment • • 11d 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 one of the poster rows, the page doesn't scroll. It just stops. Swiping on the space between rows works fine. Sometimes I have a slow response time and lag.

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?

2 Upvotes

3 comments sorted by

1

u/CombatWombat1212 11d ago

Without code examples its too hard to tell, maybe the rows are capturing the scroll somehow? you could troubleshoot that by setting the problem areas to pointer-events:none and if the problem disappears then you know its something within the component

1

u/Ronin-s_Spirit 2d ago

How big is your page that you get lag when scrolling? Do you know what 'pagination' is?