sAleksovski / react-native-android-widget

Build Android Widgets with React Native

Home Page:https://sAleksovski.github.io/react-native-android-widget/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ListWidget does not scroll on single finger swipe

nscerrimt opened this issue · comments

I have managed to use the ListDemoWidget in my project. When previewing the screen, the scroll works fine. However, when using the actual widget on device, swiping the list with a single finger does not make the list scroll. To manage to scroll, I need to use two separate fingers when swiping on the widget.

ADB Log on swipe:
11-18 15:54:00.611 4386 4386 W View : requestLayout() improperly called by android.widget.LinearLayout{b492d34 VFE...C.. ......ID 0,3-936,105 #7f0a00a2 app:id/animated_hint_layout viewInfo = } during layout: running second layout pass

OS: Android 13
Device: One Plus
Expo App

screengrab.mp4

I could not reproduce this.

Looks like you need the two-finger swipe to start the scrolling, after that single finger scrolling is working.

From the video it looks like the launcher is intercepting the scroll and trying to open the app drawer.

Can you try the Gmail widget (or any other widget that has a scroll) to see if it works correctly?

Did you try with some other widget that has scrolling?

Closing this since I could not reproduce, and there was no additional info.