overwrite keyboard navigation

Resolved
Accobat Development asked on June 8, 2021

Hello,
 
Is there a way to overwrite the keyboard navigation or disable some of it.
Like "Space", "Enter" and "Ctrl+Alt+i".
 
/Jimmy 

5 answers

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster June 8, 2021

Hi Jimmy,
 
Thank you for posting your question.
 
Could you please tell us a little bit more about what you're trying to achieve by overriding or disabling the mentioned key bindings? 
 
This will help us understand your situation better and provide you with the most relevant solution, if there is one.
 
Looking forward to your response.
 
Best regards,
Mykhailo

Public
Accobat Development June 8, 2021

Hi Mykhailo,
 
"Space" and "Enter" trigger the content menu and I'm using input fields with type date in the cells.
So when trying to activate the datepicker shadow DOM (using space) it also activates the context menu and the same when exiting the datepicker shadow DOM (using Enter) this will also trigger the contest menu.
 
For the “Ctrl+Alt+i”, I'm do not like to show the license key to every one and also I would like to add my own information dialog on those keys.
 
/Jimmy
 

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster June 9, 2021

Jimmy,
 
You can manually track particular conflicting keystrokes and use the stopImmediatePropagation() method of the Event interface to prevent Flexmonster from displaying context menus or other pop-ups.
 
Here's a quick sample demonstrating this: https://jsfiddle.net/flexmonster/2v1twdxm/. In this sample, the "Space", "Enter" & "Ctrl + Alt + I" keystrokes are not handled as usual by Flexmonster.
 
As a side note regarding your license key security concern, note that your particular domain (among other info) is embedded in the license key, meaning that no one else will be able to use your key even if they can see it. 
 
Please let us know if this helps.
 
Regards,
Mykhailo

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster June 16, 2021

Hi Jimmy,
 
How are you?
 
Just checking in to ask if you've had a chance to look through my previous response. Have you found it helpful?
 
We'd be happy to hear your feedback.
 
Best regards,
Mykhailo

Public
Accobat Development June 16, 2021

Yes thanks it helped.
 
/Jimmy

Please login or Register to Submit Answer