Skip to content

Conversation

@eduardbosch
Copy link

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:

wrong_scroll

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

good_scroll

@eduardbosch eduardbosch force-pushed the feature/disable_scroll_within_suggestions_margins branch from 9ab2204 to 4f72f61 Compare July 18, 2017 16:07
@eduardbosch
Copy link
Author

Added maven library to use jitpack

@eduardbosch
Copy link
Author

Updated some missing setEnabled refactoring from mSuggestionsSection to view itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant