leecade / leecade/react-native-swiper

Index changes while clicked on TextInput is clicked

Open
#961 1 comment 0 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 ?

iOS

Version

Which versions are you using: XCode 10.1

  • react-native-swiper: 1.5.14
  • react-native-cli: 2.0.1
  • react-native: 0.58.5
Expected behaviour

I have 2 pages within swiper. After entering the username into TextInput, when submit is clicked swiper should scroll to next index. Working perfectly fine on Android.

Actual behaviour

But in iOS, when clicked on textInput, suddenly swiper index changes and scrolls to next page.
Swiper is working fine without text inputs within swiper. And issue is only in iOS.
Can anyone help me out?

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

Start by reproducing the iOS-only behavior with two swiper pages containing a TextInput, using the reported react-native-swiper 1.5.14 and React Native 0.58.5 versions. Compare the index and scroll behavior when the TextInput is focused and when the submit action is used; done means focusing the input no longer advances the swiper unexpectedly while submitting still advances it.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.