Skip to content
Snippets Groups Projects
  • Chris Garrity's avatar
    91f5c491
    refactor to create play-button for sound items · 91f5c491
    Chris Garrity authored
    Play button doesn’t have a ‘touch-outside’ listener to stop sounds. That seems to be ok as other events cause the sound to stop.
    
    Both handleClick and handleMouseDown are needed. Must use handleMouseDown for `preventDefault` to skip setting focus on the item. handleClick is needed to prevent the Click from propagating to the item and selecting it.
    91f5c491
    History
    refactor to create play-button for sound items
    Chris Garrity authored
    Play button doesn’t have a ‘touch-outside’ listener to stop sounds. That seems to be ok as other events cause the sound to stop.
    
    Both handleClick and handleMouseDown are needed. Must use handleMouseDown for `preventDefault` to skip setting focus on the item. handleClick is needed to prevent the Click from propagating to the item and selecting it.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.