rn-sliding-up-panel
rn-sliding-up-panel copied to clipboard
Not working inside a Modal
View is rendered but not draggable
+1
Any solution on this?!
+1
@yigithanyucedag may I have a screenshot of what you're trying to achieve?
Same here @octopitus ☹️ my code is:
import.......
....
const {height} = Dimensions.get('window');
const somecomponent = () = > (
<Modal visible animationType="slide">
<View style={{paddingTop: 54, flex: 1, height}}>
<SlidingUpPanel
backdropOpacity={0}
ref={c => (this._panel = c)}
draggableRange={{top: 400, bottom: 100}}
animatedValue={this.draggedValue}
height={400}
friction={0.5}>
<View
style={{flex: 1, backgroundColor: 'white', position: 'relative'}}>
<View
style={{
height: 180,
backgroundColor: '#b197fc',
justifyContent: 'flex-end',
padding: 24,
}}>
<Text>Sliding Up Panel</Text>
</View>
</View>
</SlidingUpPanel>
</View>
</Modal>
);
Out of Modal it work's