I am experiencing behavior I do not understand. I have two text buttons: ‘A’ and ‘Return’. I am assinging listeners to them and to ‘Return’ one I add keyboard shortcut (return key on keyboard).
It works as supposed, but in one scenario 2 buttons are triggered upon pressing return key.
When I first click on ‘A’ button and then use ‘Return’ button by pressing return on keyboard, it triggers both buttons.
Is this by design or it is kind of unexpected bug?
Thanks in advance for any hints!