djett41 / ionic-filter-bar

Filter Bar plugin for the Ionic Framework
MIT License
362 stars 112 forks source link

An option to autofocus into the text entry area #93

Open ehsanzs opened 8 years ago

ehsanzs commented 8 years ago

In my App, when a User clicks on the button that displays the Search box, the text entry area is not auto-focused. Instead, the User has to manually press the text entry box in order for the keyboard to appear so that they could starting typing. Please refer to my screen-shot where the text entry area IS focused, after pressing the text entry area. While this is not the case when using a Simulator, I can recreate this issue using an iPhone.

HTML:

JavaScript: $scope.showFilterBar = function () { var filterBarInstance = $ionicFilterBar.show({ items: $scope.DBEVItemList, update: function (filteredItems) { $scope.DBEVItemList = filteredItems; }, filterProperties: $scope.DBEVItemList.fullname }); };

screen shot 2016-10-12 at 16 54 00