Closed zepumph closed 6 years ago
Note: releaseBalloon()
calls the interrupt on the drag handler, but endDragListener()
does not.
I added some documentation and renamed a function to hopefully improve clarity. The blur event should interrupt keyboard dragging, but it already did/does. Prior to https://github.com/phetsims/scenery-phet/issues/368, the KeyboardDragListener was reset
on the blur
event. Now Accessibility.interruptAccessibleInput
is doing this for us on blur
. @zepumph does this seem OK?
Yes it makes sense now, thanks!
Found while working on https://github.com/phetsims/scenery-phet/issues/368 Take a look at this code:
Shouldn't the blur event interrupt the drag also? Maybe I don't understand this fully. What do you think @jessegreenberg?