Open alexfauquette opened 2 weeks ago
Experiment on #39350, solving https://github.com/mui/material-ui/pull/39603#pullrequestreview-2013190149
The '-webkit-user-drag': 'none' should be replaced by a draggable="false" to be reliable with all browser
'-webkit-user-drag': 'none'
draggable="false"
The prevent default is weird, because if we use the documents.addEventlistner to trigger event.preventDefault() the link is still working 🙈
documents.addEventlistner
event.preventDefault()
https://deploy-preview-41994--material-ui.netlify.app/material-ui/react-alert/#introduction
https://deploy-preview-41994--material-ui.netlify.app/
No bundle size changes (Toolpad) No bundle size changes
Generated by :no_entry_sign: dangerJS against b40c3fee5abd56cc7bc0aaa6ff72b9e8c12ffcc2
Experiment on #39350, solving https://github.com/mui/material-ui/pull/39603#pullrequestreview-2013190149
The
'-webkit-user-drag': 'none'
should be replaced by adraggable="false"
to be reliable with all browserThe prevent default is weird, because if we use the
documents.addEventlistner
to triggerevent.preventDefault()
the link is still working 🙈https://deploy-preview-41994--material-ui.netlify.app/material-ui/react-alert/#introduction