From 33297e207b149c6bf4d471d27de4d70d5e674ab7 Mon Sep 17 00:00:00 2001 From: Adrian Lee Date: Wed, 18 Jun 2014 18:22:21 -0700 Subject: [PATCH] fix(macAutocomplete): Clear inline style on hide --- src/directives/autocomplete.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/directives/autocomplete.coffee b/src/directives/autocomplete.coffee index dfb7350..2ede6eb 100644 --- a/src/directives/autocomplete.coffee +++ b/src/directives/autocomplete.coffee @@ -179,6 +179,10 @@ angular.module("Mac").directive "macAutocomplete", [ $menuScope.items = [] $menuScope.index = 0 + # Clear menu element inline style + menuEl[0].style.top = "" + menuEl[0].style.left = "" + isMenuAppended = false element.unbind "blur", clickHandler