liodali / osm_flutter

OpenStreetMap plugin for flutter
https://pub.dev/packages/flutter_osm_plugin
MIT License
239 stars 98 forks source link

floatingActionButton not working on web build #556

Closed lvenier closed 2 months ago

lvenier commented 2 months ago
Flutter osm version
1.2.0

Actual Behavior

I have created a

as per the code below :

image

I get the following screen :

image

floatingActionButton on IOS and ANDROID is working fine. On the web it looks like the elevation or z-index is not working. On browser if I click on button I am moving the OSM widget.

Desired Behavior

The floatingActionButton should work on the web as it is working on android and ios.

Many thanks for your help

liodali commented 2 months ago

use pointer_detector package and make it parent for floatingactionbutton

lvenier commented 2 months ago

use pointer_detector package and make it parent for floatingactionbutton

you rock ! pointer_interceptor was the fix!

Just sent you a sponsor reward for your amazing work!

liodali commented 2 months ago

thnx i appriciate you feedback and your sponsor me really happy to other devs using our plugin