Closed wooorm closed 2 years ago
Hmm, guess this is just impossible to get around as Chrome blocks it. Might be good to document somewhere at least?
@wooorm there is a hack. You need to wrap a link <a>
within a <div>
with the squircle property
check this out https://codepen.io/PavelLaptev/pen/wvgNXox
To reproduce:
<a>
(no href) — it still workshref="#"
or so — it failsI’m guessing that this has to do with
paintWorklet
and privacy concerns? https://developer.mozilla.org/en-US/docs/Web/API/PaintWorkletBut maybe the worklet crashes on something unexpected due to privacy boundaries, which can be fixed?