design-system
design-system copied to clipboard
fix(button): remove margin & padding of host
Remove margin & padding to prevent click event outside of the component
There is an issue with Chromium and slot
content in a disabled
element (see: https://issues.chromium.org/issues/40679491#comment13)
Issue is reproductible on other framework too.
A workaround could be to "silence" the slot using something like:
Please give it a try following the whole process:
- reproduce the issue on your local Chromium
- apply the fix
- test on Chromium / FF / Safari (/ Edge)