Google assistant voice to text not working

when i use Google Assistant’s voice to text on the chat box. It’s not working, it’s just closed after one second without typing

anything on the text box.

Does disabling Brave Shields fix this issue?

no it’s still not working even if i turn off the shield

And this does not happen on Chrome?