forked from Ivasoft/mattermost-mobile
* implement so that autocomplete will track the collapsable header * add search screen * move autocomplete to it's own view and add zindex to the view so it sits atop the modifiers and results * remove unused imports * - remove console.log - paddingTop is optional * remove comments * remove commented code * - use a more reasonable zindex value. On more than in Nav Header - use consts for autocomplete padding top * remvoe search screen button * - add dependencies * - remove search button * - not needed * move autocomplete zindex to constant * - move autocomplete directly below NavigationHeader - adjust distance from search box * - remove setXX from dependencies - remove useMemo because only returning the component * remove these changes. after placing autocomplete correcting in the search component, this works as expected * without this setting, ios has the issue where autocomplete is open, transparent, and has height. The user cannot click any modifiers. * - need usememot for autocomplete - add isSearch to remote runSearch function as option to hit the search for autocomplete API option - Initial component needs handleTextChange callback to set the cursorPosition correctly * use ternary operator