Skip to content

Commit

Permalink
Style(web): Fix JSDoc formatting in EventHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Jul 24, 2023
1 parent 5de1ef4 commit 9e20aba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/web/src/js/dom/EventHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ const addHandler = (element: EventHandlerElement, eventType: string, handler: an
* Safari sets the event listeners as passive by default, other browsers the opposite
* This lead to the touch events were treated differently on Safari then on other devices
* and the touch on Modal's backdrop did not close it
* @see: https://chromestatus.com/feature/5093566007214080
* @see: https://github.com/lmc-eu/spirit-design-system/pull/892
*
* @see https://chromestatus.com/feature/5093566007214080
* @see https://github.com/lmc-eu/spirit-design-system/pull/892
*/
element.addEventListener(eventType, handler, { passive: false });
};
Expand Down

0 comments on commit 9e20aba

Please sign in to comment.