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

Animation is broken on 2.6 #434

Open
simonitfi opened this issue Apr 8, 2024 · 0 comments
Open

Animation is broken on 2.6 #434

simonitfi opened this issue Apr 8, 2024 · 0 comments

Comments

@simonitfi
Copy link

Hello,

we have following config and after upgrade from 2.3.1 to 2.6 it does not animate positions.

  <Slider
    value={val_.current}
    onValueChange={value => setVal(value)}
    trackClickable
    animateTransitions
    animationType='timing'
    animationConfig={{
      duration: 800,
      useNativeDriver: true,
    }}
    trackMarks={sliderMarkkers}
    renderTrackMarkComponent={() => <View style={{
      height: 40,
      width: 1,
      backgroundColor: 'red',
      marginLeft: 12
    }} />}
    minimumTrackTintColor="transparent"
    maximumTrackTintColor="transparent"
    thumbStyle={{ ...styles.thumb, ...{ backgroundColor: 'blue', borderColor: 'red' } }}
    trackStyle={{ height: 45 }}
    containerStyle={{ width: '100%' }}
  />
@simonitfi simonitfi changed the title Animatin is broken on 2.6 Animation is broken on 2.6 Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant