We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 726cd2e commit 61d68c3Copy full SHA for 61d68c3
android/src/main/java/com/reactnativepagerview/PagerViewViewManager.kt
@@ -27,6 +27,7 @@ class PagerViewViewManager : ViewGroupManager<NestedScrollableHost>() {
27
28
override fun createViewInstance(reactContext: ThemedReactContext): NestedScrollableHost {
29
val host = NestedScrollableHost(reactContext)
30
+ host.id = View.generateViewId()
31
host.layoutParams = ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)
32
host.isSaveEnabled = false
33
val vp = ViewPager2(reactContext)
0 commit comments