Hi @all
In my application, I am using the
Shortcut Keys Reactive - Overview (O11)component. I assigned ALT + F3 to open a popup and ALT + R to display a toast message. However, when I press ALT + F3, the popup opens but ALT + R also gets triggered at the same time.
i also attached a OML for batter understanding.
I created a small demo to demonstrate the issue. Please take a look.
https://personal-akkqd0ua.outsystemscloud.com/TestShortCut/Test?_ts=639083215869186262
Steps to reproduce:
Press ALT + F3
Hi @Pawan Parmar
Hope you are doing well ,apologies for the delayed response. There is a small issue in the Forge component occurs because it was converting key codes to lowercase, which caused a conflict between function keys and letters: specifically, the key code for ‘r’ is 114 and F3 was also manually set to 114, so ALT+F3 was incorrectly triggering the ALT+R shortcut. To fix this, you need to update the “Find Which Key is Pressed” section as follows:
var code;if (e.keyCode) code = e.keyCode;else if (e.which) code = e.which;var character = e.key ? e.key.toLowerCase() : "";
This ensures that function keys like F3 are correctly distinguished from letters, so ALT+F3 and ALT+R work independently. I have also added my validation link to confirm the issue is fixedhttps://personal-w2ndsi6i.outsystemscloud.com/TestShortCut/Test
Hey are you guys planning in release this fix in the component ?? To avoid modifying the ScriptBest regards