Hello,
I implemented autocomplete functionality for search engine (mykeep.ru ) and receive some problems:
When selected list have items more then one screen I can’t scroll it. Scrolling background page, but not front list of searched items.
There is the big indent in list of items
Before 3 letters search engine not working
Please help. First problem is very uncomfortable
Thanks
hi,
i dont know your css aside from f7 styles.
but you can try by adding a fixed height to autocomplete-dropdown-inner
.autocomplete-dropdown-inner {
height: 300px;
overflow-y: scroll; // dont know if you need this, try without it first.
}
autocomoplete has padding-left: 56px;
so try override that.
.autocomplete-dropdown-inner.list ul {
padding-left: 56px; // Current value, change it to your need.
}
Cant reproduce it. i try on my pc and type ‘a’. it works, 38 results
Thank you so much! All working.
I change this:
.md .list ul ul {
padding-left: 0px;
}
It’s possible to hide iOS keyboard when I scroll list of items? And show again when I starting writing.
Not so comfortable to see result in area between search input and keyboard.
You can try with a plugin.
#### Description
Call this method to hide the keyboard
# cordova-plugin-keyboard
> This plugin provides the `Keyboard` object which has some functions to customize and control the keyboard. It also supports the __HideKeyboardFormAccessoryBar__ (boolean) and __KeyboardShrinksView__ (boolean) preferences in config.xml.
This plugin has only been tested in Cordova 3.2 or greater, and its use in previous Cordova versions is not recommended (potential conflict with keyboard customization code present in the core in previous Cordova versions).
If you do use this plugin in an older Cordova version (again, not recommended), you have to make sure the HideKeyboardFormAccessoryBar and KeyboardShrinksView preference values are *always* false, and only use the API functions to turn things on/off.
This plugin was based on this Apache [project](https://github.com/apache/cordova-plugins/tree/master/keyboard) and has a compatible API.
- [Installation](#installation)
- [Methods](#methods)
- [cordova.plugins.Keyboard.shrinkView](#keyboardshrinkview)
- [cordova.plugins.Keyboard.hideFormAccessoryBar](#keyboardhideformaccessorybar)
- [cordova.plugins.Keyboard.disableScrollingInShrinkView](#keyboarddisablescrollinginshrinkview)
- [cordova.plugins.Keyboard.hide](#keyboardhide)
- [cordova.plugins.Keyboard.show](#keyboardshow)
- [Properties](#properties)
- [cordova.plugins.Keyboard.isVisible](#keyboardisvisible)
- [cordova.plugins.Keyboard.automaticScrollToTopOnHiding](#keyboardautomaticscrolltotoponhiding)
This file has been truncated. show original