NativeScript / NativeScript/NativeScript

ListPicker in Modal

Open
#9,339 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
25.7k
Forks
1.7k
Avg merge
1d 5h
Merged PRs (30d)
35

Description

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 8.0.1
  • Cross-platform modules: 8.0.1
  • Android Runtime: 8.0.1

Hello, when I put a ListPicker inside a modal, I got an issue where my first element is at the left on the list. As soon as I scroll, my element goes back at the right place, but it's annoying. Also if the element name is too long, it splits

image
car_issue

On the second screen it should be Chevrolet Rezzo + Plate

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

No source files or tests are named. Start by reproducing a ListPicker inside a modal with the reported Android Runtime version, checking the initial position and long-label wrapping before and after scrolling. Done means the first item is correctly positioned immediately and long names remain readable.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, typescript
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.