KBLNY / react-native-message-bar

A notification bar alert displayed at the top of the screen for react-native
MIT License
442 stars 125 forks source link

Delayed message #30

Open mquestionable opened 7 years ago

mquestionable commented 7 years ago

Hi, Message have 2 seconds delay before it shows up after calling it. What can cause that delay? I test it on emulator as well on real device.

Thanks

Edit: Okay, so it's little bit faster by adding these: durationToShow: 0, durationToHide: 0 but it's still not satisfying as after spinner there is delay that I'd like to get rid of if possible.

GrishmaM commented 7 years ago

im facing the same issue can anyone help ?

rochapablo commented 6 years ago

Yep! same here.

show (nextProps) {
    console.log('fast')
    // slow
    MessageBarManager.showAlert({
      ...
      duration: 10000,
      durationToShow: 0,
      durationToHide: 0
    })
  }