flutter_map icon indicating copy to clipboard operation
flutter_map copied to clipboard

[FEATURE] Drag gesture on PageView

Open luunc opened this issue 1 year ago • 1 comments

What do you want implemented?

When I use FlutterMap as a child of PageView, I cannot swipe among the pages. Seem like the drag gesture is prioritized for the FlutterMap area, so the PageView does not behave as usual. Is there any way to swipe the PageView with the FlutterMap inside, but still receive the tap gesture on the the map? Thank you.

What other alternatives are available?

No response

Can you provide any other information?

No response

Platforms Affected

Android, iOS

Severity

Obtrusive: No workarounds are available, and this is essential to me

Requirements

  • [X] I agree to follow this project's Code of Conduct
  • [X] I am using the latest stable version of this package
  • [X] I have checked for similar feature requests which may be duplicates

luunc avatar Aug 13 '22 09:08 luunc

Hi there @luunc, Can you try setting absorbPanEventsOnScrollables to false inside MapOptions? Many thanks :)

JaffaKetchup avatar Aug 13 '22 10:08 JaffaKetchup

Hi @JaffaKetchup , I don't see that property (absorbPanEventsOnScrollables ) in MapOptions

Screen Shot 2022-08-15 at 16 06 14

luunc avatar Aug 15 '22 09:08 luunc

Sorry, my mistake, that will be a property in v3. For now, try doing the same on allowPanningOnScrollingParent.

JaffaKetchup avatar Aug 15 '22 09:08 JaffaKetchup

Thats on the new beta version, if using an older version could try allowPanningOnScrollingParent: true/false

ibrierley avatar Aug 15 '22 09:08 ibrierley

Hi there @luunc, Can you try setting absorbPanEventsOnScrollables to false inside MapOptions? Many thanks :)

Saved the day !!!

Documentation would be great though.

sikandernoori avatar Oct 18 '22 15:10 sikandernoori