"Remember password" dialogue window requires 2 clicks

Description of the issue:
When I login to a website and am prompted to save the username and password, I have to click the “save” button twice to save the password. This is exactly like Double click required in "Remember password" dialog but that thread is closed so I created a new one.

How can this issue be reproduced?

  1. Login to a website with a username and password
  2. When the dialogue prompts to save, click the “save” button (the dialogue box remains open)
  3. Click the “save” button again and the dialogue box then goes away (and the username and password is saved)

Expected result:
I expect to only click the “save” button once

Brave Version( check About Brave):
Version 1.67.119 Chromium: 126.0.6478.114 (Official Build) (64-bit)

Additional Information:
I’m on a Thinkpad X220, running Debian 12, DWM 6.5, and h264ify extension