kkemple / kkemple/react-native-sideswipe

Slider gets stuck on short power-swipes Android

Open
#45 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
900
Forks
69
PR merge metrics
No merged PRs in 30d

Description

When swiping from close to the screen edge, the slider gets stuck, and a bit of the image in the next index is visible. I got it on the Emulator (Pixel 2) and device (Pixel). Couldn't get it on snack.

```
(



)}
/>
```

![sideswiperbug](https://user-images.githubusercontent.com/18611576/51174655-98e98280-18b8-11e9-8fa7-2c6bc1396d54.jpg)

- [x] I couldn't reproduce it on snack, though is happening on a real device and on local virtual device.
- [x] I ran **envinfo**:
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 1.53 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.12.0 - /usr/local/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 23, 26, 27, 28
Build Tools: 23.0.1, 26.0.1, 26.0.3, 27.0.3, 28.0.3
System Images: android-26 | Google APIs Intel x86 Atom_64, android-26 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.2 AI-181.5540.7.32.5014246
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.5.0 => 16.5.0
react-native: 0.57.0 => 0.57.0
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported Carousel configuration on an Android emulator or device, using short swipes near the screen edge. Inspect the slider behavior around the stuck position; done means the slider completes the swipe without exposing part of the image at the next index.

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.