cheeaun / cheeaun/phanpy

Bring focus back in timeline after closing post details

Open
#988 1 comment 1 reaction 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.12.08.7e1ffc5

### Browser

- FF 133.0
- Fedora 40

### Bug description

Keyboard focusing in the timeline focuses on the first in-viewport post of timeline even after you opened and closed details of a specific post.

### To reproduce

1. Have timeline of 3 or more short posts
2. Focus on 2nd post using `j`/`k`
3. Press `Enter` to open post details
4. Press `Esc` to go back to timeline
5. Press `j` to focus on next post

### Expected behavior

It's expected that after closing details panel, 2nd post is in focus and pressing `j` will focuses on 3rd post. But it selects 1st post instead.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.