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.
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
infragment_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 theFloatingSearchView
itself, because it occupies the whole screen.Now it works well