diff --git a/src/ReactConfetti.tsx b/src/ReactConfetti.tsx index dfa3ee2..a8f4113 100644 --- a/src/ReactConfetti.tsx +++ b/src/ReactConfetti.tsx @@ -47,6 +47,7 @@ export class ReactConfetti extends Component { const canvasStyles = { zIndex: 2, position: 'absolute' as 'absolute', + pointerEvents: 'none' as 'none', top: 0, left: 0, bottom: 0,