Appolica / InteractiveInfoWindowAndroid

Library project, developed and maintained by Appolica, offering an interactive info window for Google maps on Android.
249 stars 56 forks source link

mapinfowindowfragemnt - adding a recycler view and scroll it - window closes on lift finger #33

Closed thebeancounter closed 5 years ago

thebeancounter commented 6 years ago

Hi

I am using the awesome map info window fragment, and adding a recycler view to it, when scrolling it works fine, but when I lift the finger, the popup closes. Which is a problem.

Does anyone know about that issue or how to solve it?

Maybe the map under the pop up "feels" my touch and closes?

Thanks!

thebeancounter commented 6 years ago

update: When scrolling the recyclerview very slowly and lifting the finger very gently, it does not close. When performing a "scrolling gesture" on other parts of the popup which are not the recycler view, it also closes the popup.

deangenovski commented 6 years ago

Hi,

This sounds related to the hideOnFling feature.

The InfoWindow lags when you fling the map. However if you want to hide it instead of moving it with the map, you can use InfoWindowManager.setHideOnFling(final boolean hideOnFling). We are open to suggestions how to fix this.

deangenovski commented 6 years ago

However I think that we should probably not take that into account when the fling event is within the bounds of your info window. So this seems like a valid issue.

deangenovski commented 5 years ago

Seems like the issue was fixed and will be released with 1.0.8 .