phanpy icon indicating copy to clipboard operation
phanpy copied to clipboard

Triggers for touch actions on Android get disconnected from the page elements

Open jaxley opened this issue 10 months ago • 1 comments

Site

phanpy.social

Version

2025.01.26.24f03f5

Instance

federate.social

Browser

Firefox and Vivaldi on Android

Bug description

Touch controls work correctly after initial load of phanpy but after scrolling and boosting and liking posts for some time, touch actions stop being triggered by touches on the expected buttons or UI elements. They can still get triggered by tapping on some other location in the UI. It's as if the event triggers become disconnected from the UI elements.

To reproduce

  1. Load phanpy in Android Firefox or Vivaldi
  2. Notice that tap actions work correctly
  3. Use the app as normal to scroll and interact with posts
  4. Eventually, tap actions stop being triggered by the expected UI elements. Tap actions get triggered by taps on other UI elements.
  5. Reload the browser tap for phanpy to reload the app
  6. Notice that tapping is correct and accurate again

Expected behavior

Tapping on a UI element continues to trigger the expected action without having to reload the page to correct it.

Other

A workaround is to reload the whole phanpy page. This caused tapping to start working properly again.

jaxley avatar Feb 09 '25 16:02 jaxley

Is there like a certain consistent pattern when this bug starts to happen? E.g. the bug starts to happen

  • …after 10 viewport scrolls
  • …when opening a certain post
  • …when 3 videos appears (and scrolled past) on the timeline

This probably requires some intuition here.

cheeaun avatar Feb 10 '25 11:02 cheeaun