'Left alt and right alt produce different results

My script:

#MenuMaskKey vkFF
#SingleInstance Force

SendMode Input
SetTitleMatchMode Regex

#IfWinActive ahk_exe (chrome|msedge).exe
  !l::Send ^{Tab}
#IfWinActive

In Chrome, when using !l with the left alt, ctrl+tab is sent without side effects, however, if using !l with the right alt instead, ctrl+tab is sent and the ctrl key is never released, if I press j after that, the download page will be opened.

Does anyone know the root cause of this behavior and how to fix this?

AHK version: 1.1.33.10



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source