28
Views
4
Comments
[Shortcut Keys Reactive] Shortcut Keys Reactive
shortcut-keys-reactive
Reactive icon
Forge asset by Rafael Fantato
Application Type
Reactive

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:

  1. Press ALT + F3

TestShortCut.oml
2025-02-20 04-52-48
Ajay P

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 fixed

https://personal-w2ndsi6i.outsystemscloud.com/TestShortCut/Test


2026-03-13 15-51-13
Samuel Espinoza

Hey are you guys planning in release this fix in the component ?? To avoid modifying the Script

Best regards

UserImage.jpg
Ramya Chockalingam

I am facing a similar issue with another shortcut combination in the same component.

I have configured ALT + F6 and ALT + U as separate shortcuts. When I press ALT + F6, its callback is triggered correctly, but the ALT + U callback is also executed at the same time.

This behavior appears to be similar to the previously reported issue where ALT + F3 was also triggering ALT + R due to the key code conversion logic.

Could you please confirm whether this is caused by the same root issue in the shortcut handling implementation? Also, can we expect an update or fix for the component to address this behavior?

2025-09-25 14-38-22
Lokesh Kumar Yadav

It looks like the shortcut event is bubbling or being triggered multiple times. When pressing ALT + F3 the ALT key state is still active, causing the ALT + R shortcut listener to trigger as well.

You may need to:

Prevent event propagation/default behavior, or

Add a more specific key validation in the shortcut handler.

This seems to be an issue with how the component handles multiple ALT-based shortcuts.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.