AI generated code block copy button and code block grayed out a d flicking

Problem description

AI copy code block button bugging out

Expected behavior

Copy code upon clicking on Copy button

Actual behavior

Grayed out and flicking

Steps to reproduce

Generate code with AI

Browser

Chrome

OS

Linux

Device if mobile

Android

Plan

Free