nativescript-snackbar icon indicating copy to clipboard operation
nativescript-snackbar copied to clipboard

[Android] Snackbar hidden when used on fullscreen modal

Open jscti opened this issue 4 years ago • 3 comments

When using a fullscreen modal on Android, the snackbar doesn't appear as it shows up underneath the modalview, on the main view which is not visible

jscti avatar Jun 19 '20 09:06 jscti

i have too this problem

posokhin avatar Oct 20 '20 14:10 posokhin

Have you tried passing a View inside the modal https://github.com/nstudio/nativescript-snackbar#api when calling the snackbar? Like grabbing the root layout of your modal page, maybe it's a stacklayout or grid, and passing that instance as the View argument for the snackbar? It should then be visible.

bradmartin avatar Oct 20 '20 15:10 bradmartin

no, but i'll try, thanks

вт, 20 окт. 2020 г. в 18:06, Brad Martin [email protected]:

Have you tried passing a View inside the modal https://github.com/nstudio/nativescript-snackbar#api when calling the snackbar? Like grabbing the root layout of your modal page, maybe it's a stacklayout or grid, and passing that instance as the View argument for the snackbar? It should then be visible.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nstudio/nativescript-snackbar/issues/14#issuecomment-712920758, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIGLEQBGP3DSGJQ5IRTYCTLSLWRP3ANCNFSM4OCSPTDA .

posokhin avatar Oct 20 '20 15:10 posokhin