design-system icon indicating copy to clipboard operation
design-system copied to clipboard

fix(button): remove margin & padding of host

Open skhamvon opened this issue 11 months ago • 1 comments

Remove margin & padding to prevent click event outside of the component

skhamvon avatar Mar 19 '24 10:03 skhamvon

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: Capture d’écran 2024-04-02 à 15 05 55

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)

dpellier avatar Apr 02 '24 13:04 dpellier