Skip to content

Commit

Permalink
Adding touchend event | Fixes liferay#956
Browse files Browse the repository at this point in the history
  • Loading branch information
matuzalemsteles committed May 30, 2018
1 parent 6be8bd4 commit 457206f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/clay-dropdown/src/ClayDropdownBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ class ClayDropdownBase extends ClayComponent {
this._eventHandlerKeyup = new EventHandler();

this._eventHandler.add(
dom.on(document, 'click', this._handleDocClick.bind(this), true)
dom.on(document, 'click', this._handleDocClick.bind(this), true),
dom.on(document, 'touchend', this._handleDocClick.bind(this), true),
);
}

Expand Down

0 comments on commit 457206f

Please sign in to comment.