Skip to content

Commit

Permalink
Fix native touchable dropdown logic
Browse files Browse the repository at this point in the history
Had to toggle original elements visibility so that is works.
  • Loading branch information
grafluxe committed Nov 22, 2017
1 parent f0d992a commit 028efc8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Dropdownizer.js
Expand Up @@ -123,7 +123,9 @@ class Dropdownize {
this._ui.div.addEventListener("mouseleave", this._onMouseLeave);
}
} else {
this._el.classList.remove("dd-x");
this._el.focus();
this._el.classList.add("dd-x");
}
}

Expand Down

0 comments on commit 028efc8

Please sign in to comment.