Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListView snatches scroll gestures #253

Closed
mulderpf opened this issue Mar 23, 2019 · 11 comments
Closed

ListView snatches scroll gestures #253

mulderpf opened this issue Mar 23, 2019 · 11 comments
Labels
bug This issue reports broken functionality or another error

Comments

@mulderpf
Copy link

I put my map in a ListView. When dragging left and right on the map, the maps scrolls around, when going up and down (the direction of the ListView), the ListView gets those gestures rather than the map. How do I get the map to use those gestures instead?

@johnpryan johnpryan added help wanted bug This issue reports broken functionality or another error labels May 17, 2019
@GregorySech
Copy link
Contributor

GregorySech commented Aug 29, 2019

I did a small experiment using a listview inside a listview and the behaviour works exactly as @mulderpf wants FlutterMap to work.
I'm wondering if this happens because FlutterMap is not a ScrollView.
If we decide that we want this behaviour while #174 is being implemented keep an eye to this issue too.

edit: intent clarification

@buckettt
Copy link

buckettt commented Feb 6, 2020

@mulderpf Having the same issue here. Did you come up with a solution/workaround?

@AlexandrePhilibert
Copy link

This does not solve the issue but prevents the listView from picking up the vertical drag.

Wrap FlutterMap in a GestureDetector :

ListView(
    children: <Widget>[
        GestureDetector(
            onVerticalDragUpdate: (_) {},
            child: FlutterMap(
                ...
            ),
        ),
    ],
),

@brizaldi
Copy link

any update on this issue?

@sm2017
Copy link

sm2017 commented Jul 25, 2020

@johnpryan I have same issue, Any solution?

@sm2017
Copy link

sm2017 commented Jul 25, 2020

@mulderpf Do you have temporary solution?

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Mar 28, 2021
@github-actions
Copy link

github-actions bot commented Apr 2, 2021

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions
Copy link

github-actions bot commented Jun 9, 2021

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Jun 9, 2021
@github-actions
Copy link

This issue was closed because it has been stalled for 5 days with no activity.

@kengu
Copy link
Contributor

kengu commented Sep 3, 2021

PR #994 fixes this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue reports broken functionality or another error
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants