diff --git a/src/components/landing/ChartsTextBackdrop.tsx b/src/components/landing/ChartsTextBackdrop.tsx index bc0b8a044..545e1047e 100644 --- a/src/components/landing/ChartsTextBackdrop.tsx +++ b/src/components/landing/ChartsTextBackdrop.tsx @@ -7,10 +7,16 @@ export function ChartsTextBackdrop({ }) { const contentRef = React.useRef(null) const [mask, setMask] = React.useState('') + const [radialBackdrop, setRadialBackdrop] = React.useState(false) React.useEffect(() => { const content = contentRef.current if (!content) return + const probe = document.createElement('canvas').getContext('2d') + if (!probe || typeof probe.filter !== 'string') { + setRadialBackdrop(true) + return + } let active = true let frame = 0 let revision = 0 @@ -108,10 +114,14 @@ export function ChartsTextBackdrop({