Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { Component } from "react";
import { View, StyleSheet, Text, Animated } from "react-native";

import {
GestureHandlerRootView,
PanGestureHandler,
TapGestureHandler,
State,
Expand Down Expand Up @@ -323,7 +324,7 @@ export default class extends Component {
const scaleStyle = { scale: scaleValue };

return (
<View style={styles.root}>
<GestureHandlerRootView style={styles.root}>
<View style={styles.trackContainer} onLayout={this.onLayoutContainer}>
<TapGestureHandler
onHandlerStateChange={this.onTap}
Expand Down Expand Up @@ -384,7 +385,7 @@ export default class extends Component {
</Text>
</View>
) : null}
</View>
</GestureHandlerRootView>
);
}
}
Expand Down