We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 854c4e2 + b441274 commit 67bdc5bCopy full SHA for 67bdc5b
src/components/toast-bar.tsx
@@ -64,7 +64,6 @@ const getPositionStyle = (
64
}
65
: {
66
left: 0,
67
- pointerEvents: 'none',
68
right: 0,
69
justifyContent: 'center',
70
};
@@ -131,13 +130,15 @@ export const ToastBar: React.FC<ToastBarProps> = React.memo(
131
130
style={{
132
display: 'flex',
133
zIndex: toast.visible ? 9999 : undefined,
+ pointerEvents: 'none',
134
...positionStyle,
135
}}
136
>
137
<ToastBarBase
138
ref={ref}
139
className={toast.className}
140
141
+ pointerEvents: 'initial',
142
...animationStyle,
143
...toast.style,
144
0 commit comments