googlemaps / react-native-navigation-sdk

Apache License 2.0
15 stars 3 forks source link

Custom Stop button interfering with Dismiss dialog #175

Open nexttrack07 opened 3 months ago

nexttrack07 commented 3 months ago

We implemented the custom stop button as specified in this issue: https://github.com/googlemaps/react-native-navigation-sdk/issues/75

However, the custom button interferes with the dismiss dialog and the dismiss button is un-clickable. Please advise on how to deal with this. Thanks.

Environment Details:

  1. OS type and version: iOS 17.5 and Android 14.0
  2. Library version and other environment information: 0.3.3-beta

image

jokerttu commented 3 months ago

@nexttrack07 Thanks for raporting this.

nexttrack07 commented 2 months ago

Hi - any update on this? If we implemented our own swipe up card, can we control the behavior of the dismiss alert?

illuminati1911 commented 2 months ago

Hi @nexttrack07 This is somewhat a complicated issue and might take some time for us to fix.

As a temporary solution (not perfect by any means), you could try to either: 1) Disable the traffic notifications by using toggleTrafficIncidentsCardEnabled 2) Placing the stop button outside of the the map view.

nexttrack07 commented 1 month ago

Thanks. I'm noticing that setTrafficIncidentsCardsEnabled is not preventing the Dismiss notifications.