Xamarin.Forms.GoogleMaps
Xamarin.Forms.GoogleMaps copied to clipboard
Ability to allow Maps to recieve proper touch inside scrollview - Android
Issue relating too: https://github.com/amay077/Xamarin.Forms.GoogleMaps/issues/336
Using this library with the map nested inside a ScrollView, the scrolling of the ScrollView is badly interfering with the map.
Using the below code resolves the issue:
public override bool DispatchTouchEvent(MotionEvent e)
{
base.Parent.RequestDisallowInterceptTouchEvent(true);
// Handle MapView's touch events.
return base.DispatchTouchEvent(e);
}
I am proposing that we set some flag or something that allows Devs to disallow touch on the ScrollView when the touch is being made on the map. It might simple override or not override the above method
iOS didnt seem to have this issue.
This looks like a simple solution. Any reason why this issue is still not fixed?
Any news on this issue?
Still awaiting an elegant fix for this
@amay077 bump. Can this be implemented in the repo?
ping 👋
bump :(