Button Hotkeys return/ enter key missing in Rockaway

  • 2
  • Problem
  • Updated 3 years ago
  • Solved
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: This has been resolved in Rockaway 8.11

We were using return key for button hotkeys but it is not available in rockaway update.

Banzai page editor:


Rockaway page editor: where there is no return key available for select.

Photo of Pawan Lohani

Pawan Lohani

  • 284 Points 250 badge 2x thumb

Posted 3 years ago

  • 2
Photo of Pawan Lohani

Pawan Lohani

  • 284 Points 250 badge 2x thumb
Any update?
Photo of Craig Rosenbaum

Craig Rosenbaum

  • 4,940 Points 4k badge 2x thumb
We have several hotkeys that also rely on "return".
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,550 Points 10k badge 2x thumb
We removed these options because "Enter/Space" are used for default actions in browsers for keyboard accessibility. Users have come to expect Enter/Space to have certain actions, and we were concerned with conflicts here. I'll talk to our accessibility expert and see what she says about this.

The problems here arise when lets say a user has tabbed to a button and it is focused, then the press "Enter". Should Skuid run both the hotkey action and the focused button's action?

Any more information about your use cases here would be helpful.
Photo of Craig Rosenbaum

Craig Rosenbaum

  • 4,940 Points 4k badge 2x thumb
Ben,

We use the enter hotkey many times in our app. The main use of this is for usb barcode scanners. The scanners will grab the serial number from a barcode, put it in the text field, and hit the return key for the user. This allowed us to have our code run each time a barcode is scanned. It is pretty crucial for us because without it, our customers can't use barcode scanners.
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,550 Points 10k badge 2x thumb
Hi Craig,

That makes sense. I'll have to check with some people, but I'm thinking we may allow Enter/Space hotkeys at least by editing XML.
Photo of Craig Rosenbaum

Craig Rosenbaum

  • 4,940 Points 4k badge 2x thumb
That would work for our purposes right now.

In terms of accessibility, I think if the user has a button in focus, it should only run that button, not any other hotkeys, if that's possible. I feel like that gives you more options for work arounds than automatically executing both or none.
Photo of Shannon Hale

Shannon Hale

  • 312 Points 250 badge 2x thumb
Hi Craig,

Would you mind shooting me a screenshot of your app? It sounds like what you're doing is a common web form pattern of implicitly saving/submitting a form on Enter, and I'm curious what else is on the page -- just to see if this is a way for us to manage this long term, instead of users having to create hot keys. (You can email it to me at shannon@skuid.com.)

Thanks!
--Shannon
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,550 Points 10k badge 2x thumb
Hi Pawan and Craig,

The plan is to bring back runtime support for Enter/Space hotkeys in an upcoming Rockaway patch. They will still be disabled in the builder, but they can be added through the XML editor.
Photo of Craig Rosenbaum

Craig Rosenbaum

  • 4,940 Points 4k badge 2x thumb
Thanks Ben. Please let us know when that update is available. 
Photo of Pawan Lohani

Pawan Lohani

  • 284 Points 250 badge 2x thumb
I think this approach works for us.
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,550 Points 10k badge 2x thumb
Runtime support for Enter/Space hotkeys has been added back in Rockaway 8.1. This is available at skuid.com/releases.

This conversation is no longer open for comments or replies.