This issue is present only in Chrome, the map canvas displays a black outline when clicked (on focus). This is supposedly some kind of accessibility feature turned on by default since Chrome 83. I tried disabling this with css overrides but no success:
  *:focus, *:focus-visible, *:focus-within {
    outline: none !important;
  }
When unfocused:

When focused:

How to remove this, it really ruins the look of my app.
This seems to be sufficient for me:
* {
    outline: none;
}
or, to minimise impact on accessibility:
.mapboxgl-canvas {
    outline: none;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With