NativeScript / NativeScript/NativeScript

Navigate back doesn't work if there are more than one SearchBar in page

Open
#4,341 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog bug os: android severity: low
Dominant language
TypeScript
Stars
25.7k
Forks
1.7k
Avg merge
1d 5h
Merged PRs (30d)
35

Description

Reproducible with tns-core-modules@~3.0.0
If there are more than one SearchBar in a page the navigate back button is not working. Navigate back button only changes the caret position between search-bars.

<Page >
    <StackLayout>
        <SearchBar />
        <SearchBar />
    </StackLayout>
</Page>


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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

Reproduce the issue with tns-core-modules@~3.0.0 using a Page containing two SearchBar elements inside a StackLayout. Trace the SearchBar and navigate-back behavior, and consider the issue done when back navigation leaves the page instead of only moving the caret between search bars.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.