Brave browser reads buttons although disabled

I have this issue where my CTRL button makes the number 4 button work whenever I press it so I simply use xmodmap -e 'keycode (ctrl)=' to disable it.

This solution works all over the system EXCEPT on brave browser, for some reason brave browser reads the button although disabled, how can I change this behavior?

Brave Version: 1.76.82
Linux Version: Ubuntu 22.04.4

@Mazeral

Reference material:

What keyboard shortcuts can I use in Brave?

https://support.brave.com/hc/en-us/articles/360032272171-What-keyboard-shortcuts-can-I-use-in-Brave


The following portion of the sentence that makes up your 2nd paragraph, in your description:

“for some reason it makes it work”

Pleased edit that, in your Original Post (“OP”) above, by filling in the details for each of the “it” terms. (You know what you meant, but not easy for me to know that, yet.)

Also, while editing your OP, please include:

  • Brave Browser version numbers
  • Linux OS version numbers