enesozturk/rn-swipeable-panel

Does it work with WebView?

Opened this issue · 0 comments

I can't get it to work with WebView. Is that possible?

import { WebView } from "react-native-webview";
panelProps: {
    fullWidth: true,
    openLarge: false,
    showCloseButton: true,
    allowTouchOutside: true,
    onClose: () => this.closePanel(),
    onPressCloseButton: () => this.closePanel()
},
<SwipeablePanel {...this.state.panelProps} isActive={this.state.isPanelActive}>
        <View style={{ height: "100%", width: "100%" }}>
              <WebView source={{ html: this.state.PanelHtml }} />
       </View>
 </SwipeablePanel>