Skip to content

Commit

Permalink
update on focus value text on focus not blur, phetsims/gravity-force-…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Apr 3, 2019
1 parent bbec8d3 commit b4abe3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/accessibility/AccessibleValueHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ define( require => {
// When not providing a timeout, we would often get this change for the previously focused element even
// though it wasn't the active element of the screen. Perhaps this is just a bug/problem with how AT monitor
// for aria-valuetext updating.
blur: () => { timer.setTimeout( () => this.updateOnFocusAriaValueText(), 0 );}
focus: () => { timer.setTimeout( () => this.updateOnFocusAriaValueText(), 0 );}
};
this.addInputListener( valueHandlerListener );

Expand Down

0 comments on commit b4abe3c

Please sign in to comment.