In Safari on iOS 15, links that are in a container that has pointer-events: none;
applied, don't become tappable when pointer-events
is set to all
dynamically at a later stage. Actually, in some cases they do, but it's very unpredictable. For instance, when the container is an ul
and the links are inside a li
element, they do become tappable. Or when the link has a button
sibling. I know this sounds strange, but it's true. I made a demo, so you can try it for yourself: https://stackblitz.com/edit/web-platform-mdhjqs?file=index.html
Am I missing something? Is this a bug unique to Safari on iOS 15?