ionic-team / ionic-native-google-maps

Google maps plugin for Ionic Native
Other
221 stars 125 forks source link

ion-button / ion-segment not working inside ionic-native-google-maps on Android Pie #141

Closed iamsaikat closed 5 years ago

iamsaikat commented 5 years ago

I am using custom buttons over the ionic native Google Map. It’s working till android 8.0 (Oreo). But it doesn’t seem to work on Android 9.0 (Pie).

<div [ngSwitch]="homeTabs" class="home-wrapper">
    <ion-segment [(ngModel)]="homeTabs" class="evc-tabs">
      <ion-segment-button value="map">Map</ion-segment-button>
      <ion-segment-button value="list">List</ion-segment-button>
    </ion-segment>
    <div *ngSwitchCase="'map'" class="map-wrapper">
      <map-view
        *ngIf="showMapView"
        [mapData]="mapData" 
        [userCoordinates]="currentCoordinates">
      </map-view>
    </div>

    <div *ngSwitchCase="'list'" padding class="home-list">
    </div>
  </div>
wf9a5m75 commented 5 years ago

Please share your project files on GitHub repository

iamsaikat commented 5 years ago

Thanks @wf9a5m75 , Sorry I can't share my project. I have checked everything from my end. Everything working fine except one device (Android 9.0). I have added z-index to the ion-segment but still no success. I think some overlay issue on pie or something else I can't figure out. It will be helpful if anyone try the plugin on pie with any dom element over the Map.

wf9a5m75 commented 5 years ago

If you can't share your project files, please create a demo project

iamsaikat commented 5 years ago

@wf9a5m75 the issue has been fixed. I was getting some ion-content overlapping issue.This was not an issue related to this plugin.

Thanks

thamaraiselvam commented 5 years ago

@iamsaikat How did you fix it?