Keybindings heritage


#1

I am trying to use a default core:focus-next event after making a few CS controls, but I can’t find a way nor in the documentation nor in the forums.

What I am trying to do is tab loop-focusing the next atom-text-editor element inside a modal. I coded a CS solution, but I’m not happy at all with it. I would like to use the same tabindex in those atom-text-editors for group focusing but controlling when it hits the last element so it can go to the first one again.

In short: Is there a way in which I can inherit the default behaviour of the keybinding while running some CS code first?

Thanks!


#2

If you take a look at my bug-report package, I have a panel view that I use core:focus-next to implement tabbing between controls in the view: