Remove Border of rendering canvas

i want to remove the border of rendering canvas in my react app…

while click in canvas i see the white border is coming. how to disable

This is a css issue here and you could use this trick to remove the outline:

canvas {
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */
}
4 Likes

Obrigado.