Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions packages/gluestack-core/src/toast/creator/ToastList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,19 @@ export const ToastList = () => {
return (
<View
key={position}
pointerEvents="box-none"
style={{
justifyContent: 'center',
margin: 'auto',
//@ts-expect-error it is properly defined above per-platform
position: toastPositionStyle,
pointerEvents: 'box-none',
...POSITIONS[position],
}}
>
{toastInfo[position].map((toast: IToast) => {
return (
<SafeAreaProvider key={toast.id} initialMetrics={initialWindowMetrics}>
<SafeAreaView style={{ pointerEvents: 'box-none' }}>
<SafeAreaView pointerEvents="box-none">
<OverlayAnimatePresence
visible={visibleToasts[toast.id]}
AnimatePresence={AnimatePresence}
Expand Down Expand Up @@ -122,9 +122,11 @@ export const ToastList = () => {
}}
key={toast.id}
{...toast.config?.containerStyle}
style={{ pointerEvents: 'box-none' }}
pointerEvents="box-none"
style={{}}
>
<View
pointerEvents="box-none"
style={{
bottom:
[
Expand Down