This repository has been archived by the owner on Oct 23, 2020. It is now read-only.
FAM with setClosedOnTouchOutside
only closes for singleTap, not fling events etc
#248
Labels
Milestone
I have a
RecyclerView
with a FAM on top of it. If I open the menu and then do a single tap outside the menu, it closes as expected. But any other gesture is ignored, for example if I try to fling the list the nothing happens. I do not expect the fling to actually cause aRecyclerView
scroll event, but I do expect the FAM to close upon any outside touch event.My expected behavior is what's observed in e.g. Google Inbox (except that Google Inbox also dims the
RecyclerView
area upon expanding the FAM).Note that I've successfully accomplished this with a manual touchlistener:
Shouldn't this be the default behaviour when using
setClosedOnTouchOutside
?The text was updated successfully, but these errors were encountered: