Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In iOS mobile the swipe works slow. #18

Open
amit13091992 opened this issue Mar 4, 2020 · 6 comments
Open

In iOS mobile the swipe works slow. #18

amit13091992 opened this issue Mar 4, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@amit13091992
Copy link

amit13091992 commented Mar 4, 2020

I have implemented this library in my project. For android, it is working fine but for iOS mobiles when I am doing the swipe it gets stuck OR it moves very slow. Can someone please explain to me the reason. Thanks in advance.
My code for how I am using the button:

      <SwipeButton
            thumbIconBorderColor={colors.primaryColor}
            style={{ alignSelf: 'center' }}
            railBackgroundColor={colors.primaryColor}
            railBorderColor={colors.primaryColor}
            railFillBorderColor={colors.primaryDarkColor}
            railFillBackgroundColor={colors.primaryDarkColor}
            thumbIconBackgroundColor={colors.colorWhite}
            thumbIconComponent={thumbIcon}
            titleColor={colors.colorWhite}
            titleFontSize={dimens.ms11}
            title={strings.swipe_to_}
            width={dimens.ms230}
            height={dimens.ms40}
            resetAfterSuccessAnimDuration={3000}
            shouldResetAfterSuccess={true}
            onSwipeSuccess={() => {
              this.handleOnClick()
            }}
          />
@amit13091992 amit13091992 changed the title In iOS the swipe works slow. In iOS mobile the swipe works slow. Mar 4, 2020
@arelstone
Copy link
Contributor

I've experienced this too when running in debug mode. Try making a release build, should speed things up

@Franky238
Copy link

This is kind of problem because we need to test app in debug mode and we are not able to use it correctly. Do you have some workaround?

@arelstone
Copy link
Contributor

I have to change my mind. After putting the app on TestFlight we've had some feedback that the swipe button seems "laggy". The reporters of this primarily has an iPhone 8

@cylim
Copy link

cylim commented Apr 25, 2020

Having the same issues, is there is any workaround solution?

@gaurav0044
Copy link

yes i also have the same issue, is there any solution ?

@cylim
Copy link

cylim commented Jun 25, 2020

The way I had workaround this is to create something visually similar with Swipeable from react-native-gesture-handler

@UdaySravanK UdaySravanK changed the title In iOS mobile the swipe works slow. Bug: In iOS mobile the swipe works slow. May 20, 2022
@UdaySravanK UdaySravanK added the bug Something isn't working label May 20, 2022
@UdaySravanK UdaySravanK changed the title Bug: In iOS mobile the swipe works slow. In iOS mobile the swipe works slow. May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants