callstack / callstack/react-native-pager-view
Multiple WebViews in PagerView
- Dominant language
- TypeScript
- Stars
- 3.4k
- Forks
- 476
- Avg merge
- 10d 21h
- Merged PRs (30d)
- 2
Description
I am trying to display multiple webviews (with vertical scroll in them) using PagerView.
The issue that I am having is that when I scroll the web page in WebView, for some reason PagerView also handles the tap-and-drag gesture and sometimes may swipe the page. This is not the desired behavior and I am wondering how can it be avoided?
Here's the working example:
```ts
import { Dimensions, View } from 'react-native';
import PagerView from 'react-native-pager-view';
import WebView from 'react-native-webview';
const { width, height } = Dimensions.get('window');
export default function App() {
return (
);
}
```
https://user-images.githubusercontent.com/873278/154859909-3cfe0e92-136a-49c6-80ce-8f3ebf03dbe7.mov
Thanks for any help!
Contributor guide
Assessment
This issue has not been assessed yet.