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.

Track doesn't align in RN0.39

See original GitHub issue

Hi, I’ve noticed the track doesn’t align properly in React Native 0.39.

<Slider
  style={{width: 300}}
  value={this.state.value}
  minimumTrackTintColor='#FF0000'
  maximumTrackTintColor='#00FF00'
  thumbTintColor='#0000FF'
  minimumValue={0}
  maximumValue={10}
  onValueChange={(value) => this.setState({value})} />

As a short term fix, I’ve found that providing trackStyle={{marginTop: -4}} fixes the issue, but I suspect changing defaultStyles to include the fix would be a better solution.

Here’s a screenshot of the bug… screen shot 2016-12-05 at 15 46 06

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:15
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

14reactions
Thomas101commented, Dec 9, 2016

@3610cn did adding trackStyle={{marginTop: -4}} fix it for you?

0reactions
jeanregissercommented, Jun 3, 2017

A proper fix for this has (finally) been landed in the latest published version (0.10.0)! Thanks everyone.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Auto-Align Post Alignment Issue - Radicals' Lounge
I found an issue I believe while editing a huge feature film project I'm working on. I found that if I add tracks...
Read more >
How to Sleep with a Stuffy Nose: 25 Tips for Pain ... - Healthline
A stuffy nose can keep you up at night, but it doesn't have to. We'll walk you through what to do during the...
Read more >
align lululemon shorts
The length of it is also great as doesn't ride up to much and also stays in place. ... styles like the Align...
Read more >
Use alignment guides in GarageBand on Mac - Apple Support
Alignment guides appear when the edges of a region you're moving align with another region in the Tracks area, and when automation points...
Read more >
Align To Reference Track - English - Shotcut Forum
The Align To Reference Track tool allows multiple clips to be aligned to the audio in a reference track. This can be useful...
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