Jasonette / Jasonette/JASONETTE-iOS

Performance Improvement Request: horizontal items

Open
#181 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
5.2k
Forks
347
PR merge metrics
No merged PRs in 30d

Description

### Description

Whenever you use a horizontal item in the view, `Jasonette[10916:7536476] NSScanner: nil string argument` appears in the log.

I found that this was related to my observation that having a horizontal item within the view causes some jitter when scrolling _vertically_ in the view, which isn’t so noticeable on a mac but it is on a phone. Whether the horizontal item scrolls or just stretches to fill-up the view horizontally is immaterial.

### Example Code

Control (no horizontal items): https://jasonbase.com/things/rykb.json
Example (horizontal items, jittery when scrolling down): https://jasonbase.com/things/ePj7.json

Interestingly horizontal components aren’t affected; only appears to affect items.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the provided control and horizontal-item examples at jasonbase.com, comparing vertical scrolling and the NSScanner log output. Trace the horizontal item path and compare it with horizontal components. Done means horizontal items no longer produce the warning or noticeable vertical-scroll jitter on a phone.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
mobile-dev, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.