cheeaun / cheeaun/phanpy

iOS Tap to Scroll to Top

Open
#882 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

### Site

phanpy.social

### Version

2024.10.08.0a176e2

### Instance

social.lol

### Browser

- Safari on iOS 17 and iOS 18.
- Progressive web app on iOS 17 and iOS 18.

### Bug description

Tapping on the top of the screen should scroll the timeline back to the top (similar to what pressing the “new posts” button does). Instead of scrolling to the top, nothing happens when tapping at the top of the screen.

### To reproduce

1. Scroll down on the timeline to see earlier posts.
2. Tap the top of the screen (near the time or Dynamic Island)
3. Timeline does not scroll up to the top to display the newest post in the timeline.

### Expected behavior

I would expect Phanpy to act like other sites and web views in Safari and installed on the home screen. For other websites, including the Mastodon web view, tapping the top scrolls to the top of the site or newest item in the timeline.

### Other

This is purely a quality of life fix.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue in Safari on iOS and in the installed PWA, then inspect the timeline's scroll handling and the behavior used by the “new posts” button. Done means tapping near the top of the screen scrolls the timeline to the newest post, matching the expected behavior described here.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.