floatingsearchview
floatingsearchview copied to clipboard
Dismiss search on touch suggestions list margins
Hi to all 🎉
I've fixed an issue where touch is propagated below floating search views when it's focused.
The bug
I've checked the issue in the sample app by removing the 5dp margins to the search_results_list
in fragment_sliding_search_results_example_fragment.xml
. Then you can see that this bug appears:
The fix
To avoid this, I've changed the touch listener to dismiss the search from mSuggestionsSection
to the FloatingSearchView
itself, because it occupies the whole screen.
Now it works well
Added maven library to use jitpack
Updated some missing setEnabled
refactoring from mSuggestionsSection
to view itself.