Jasonette / Jasonette/JASONETTE-iOS

programmatically reposition horizontal and vertical lists after render.

Open
#212 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.2k
Forks
347
PR merge metrics
No merged PRs in 30d

Description

This is similar to Issue #209, in that I need to be able to somehow interact programmatically with inputs after a $render action.

In this case, I'm trying to implement a date picker using horizontal layout components.

After a date is picked, $render is called to update "When" field. I want to center highlighted date after the $render.

The reason why becomes more immediately obvious with time picker, which user will almost always scroll a good ways...like date picker, I want to center chosen time after it's tapped and highlighted and it becomes highlighted after $render is called.

![image](https://user-images.githubusercontent.com/18387/27187305-73ddb9aa-51b0-11e7-82bb-47c9854e5806.png)

To me, this means we need a way to scroll a list to a specific point after a $render is called programmatically.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the $render action and the horizontal and vertical list components in the iOS project. Determine how a list can be repositioned after rendering, and consider the date- and time-picker scenarios described; done means a chosen item can be centered programmatically after $render.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.