Skip to content

Commit

Permalink
fix(Geosuggest): Hide the suggest list when the result set is empty
Browse files Browse the repository at this point in the history
This fixes a small design bug which was visible when removing focus from the search box while the result set was empty
  • Loading branch information
Caerostris committed Jun 3, 2016
1 parent 53e3f40 commit 6f23dc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/geosuggest.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
-webkit-transition: max-height 0.2s, border 0.2s;
transition: max-height 0.2s, border 0.2s;
}
.geosuggest__suggests--hidden {
.geosuggest__suggests--hidden,
.geosuggest__suggests:empty {
max-height: 0;
overflow: hidden;
border-width: 0;
Expand Down

0 comments on commit 6f23dc0

Please # to comment.