You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I investigated this a little bit.
When the key is pressed, the ShortcutService's keydown handler isn't even called.
I thought this was because the button was focused after being clicked and was consuming the event. But if you try with a slider for example (an input range, there are a couple in the right hand-side drawer), then even when it's focused, the event still bubbles up to the window.
I found out that if you create more than 2 layers, then it works fine after clicking the move layer down button just once. So I think this has something to do with the fact that the button is disabled:
after you press "move layer down", the new layer you created becomes the bottom-most one, and so the button gets disabled. And it seems that on Firefox, when a disabled button has focus, then all keydown events are consumed and lost.
So one way to fix this is blurring the button right before disabling it.
Firefox only !
Steps to reproduce :
Expected : the Rectangle selection tool should be selected
Actual : the Pen tool is still selected
After clicking anywhere else on the page, the keyboard shortcut will work again.
The text was updated successfully, but these errors were encountered: