Buggy scroll to logic
Open
Nobody has claimed this yet.
1. to develop
bug
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Not sure. I think I loaded the app and quickly navigated to the outbox
- ???
Expected behavior
No js errors logged
Actual behavior

Mail app version
1.x
Mailserver or service
No response
Operating system
No response
PHP engine version
No response
Web server
No response
Database
No response
Additional info
I'd suggest that we add some hardening to the query selector result and exit the method early if it doesn't match any elements.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the scroll-to logic and its query selector in the JavaScript frontend, then investigate the navigation path to the outbox described in the issue. Reproduce the reported JavaScript error if possible and verify that the logic handles a selector matching no elements without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100