Kevin C

Results 118 comments of Kevin C

@iRoachie that's a neat workaround, but I don't think that's the right way to go about it. What about exporting a `SnackbarAvoidingView` component that does the exact same thing, but...

The difference is that `SnackbarAvoidingView` is the one that animates its height, rather than `ActionButton`. So instead of needing to send a PR to every library that has a component...

Hey, nice work! Would you mind also submitting a PR to add that as a dependency to this library, and simply export it (so people don't need to install both...

I wonder if we could also hook it up to (optionally) **automatically** call `avoidSnackbar()` during `Snackbar.show()`. That would be awesome.

Anything with the same z-index as the snackbar should move to avoid it, per material design specs (because in real life, things can't occupy the same space). The only other...

@iRoachie try cleaning all caches and starting fresh. I got that message before when running mismatched versions of React Native (one in JS and a different one in native code).

@iRoachie did you end up getting it to work?

Hmm, that's an interesting idea @aMarCruz. It seems like there might be some delay using events though, which could look janky (if your FAB rises up 100 ms after the...

The event could be fired from JS, no native code needed. Have a look at [src/index.js show()](https://github.com/cooperka/react-native-snackbar/blob/master@{2018-02-09}/src/index.js#L32).

@dantman nice suggestion, that method would be ideal if anyone is up for implementing it.