leecade / leecade/react-native-swiper

Swiper goes back on slide 1 on key press (with t comb form native)

Open
#839 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Which OS ?
Version

Which versions are you using: OS-X High Sierra / iOS 11

Expected behaviour

When i'm writing in a Form with tcomb form native library, it should stay on the same slide.

Actual behaviour

When I'm writing in a Form with tcomb form native library, the swiper shows back the first slide on keypress (after the keyboard shows up). When I click back on the screen it goes back on the 2nd slide.

Steps to reproduce
  1. Create a swiper with 2 or 3 slides
  2. Put in the swiper slide 2 an input
  3. When editing this input (on simulator) you'll see the swiper going back to slide 1.

Contributor guide

No contributing guide indexed for this repository

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 with a swiper containing two or three slides and an input on slide 2, then edit the input on the simulator while observing the keyboard-triggered slide change. The issue is resolved when editing the input leaves the swiper on slide 2 instead of returning to slide 1.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
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.