question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Swipe for weakly tracker and log health slider not working

See original GitHub issue

Prerequisites

Description

When trying to swipe on both sliders it doesn’t redirect 1 0

Steps to Reproduce

  1. Log in
  2. try to swipe

Expected behavior: redirect to the related destination

Actual behavior: slider goes always to the previous position

Reproduces how often: 100%

Versions

“0.3.29”

Additional Information

if I change the files LogHealthSlider.jsx WeeklyTracker.jsx and add ! before swiped in this line

const [{ x }, set] = useSpring(() => ({
    x: 0,
    onRest: () => {
      if (!swiped) {
        // After swipe animation finishes, navigate to survey
        history.push('/symptomsurvey');
      }
    },
  }));

it works 1 1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
AdhamAHcommented, Apr 15, 2020

@SomeMoosery I think it is only a bug on desktop. Because it is working on an actual mobile but not on the mobile port on a desktop or the default view which is strange. I made sure I am on the last commit let’s see if any else has the same issue

0reactions
AdhamAHcommented, Apr 16, 2020

@acthelemann thanks! yeah, I agree. I think it is really a great library but needs some workaround to fit our needs I will close

Read more comments on GitHub >

github_iconTop Results From Across the Web

Health slider not working - Unity Forum
I have a health slider at the bottom of my screen. I have a player (prefabs and is only instantiate after the user...
Read more >
Use and manage trackers in Samsung Health
Samsung Health has built-in trackers for steps, diet, and other important health factors ... It not only tracks exercise, it can also track...
Read more >
Adjust how iPhone responds to your touch - Apple Support (NG)
If you have difficulty performing tap, swipe, and touch-and-hold gestures, you can change how the iPhone touchscreen responds.
Read more >
Under Armour and HTC's HealthBox: Decent together, weak ...
On your smartphone, you have Under Armour Record for keeping track of all your health data, as well as other Under Armour-owned apps ......
Read more >
FAQ - Down Dog
Customizing Your Practice. Account and Billing. Troubleshooting ... Do the apps connect to Apple Health? Yes! If you are having trouble connecting, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found