mgolokhov / dodroid

May the knowledge be with you!
MIT License
20 stars 12 forks source link

Floating Action Button Disppears when list of topic is scrolled. #117

Closed JubrilEdu closed 4 years ago

JubrilEdu commented 4 years ago

How to Reproduce:

JubrilEdu commented 4 years ago

I investigated and discovered the onNestedScroll method was overridden in the ScrollAwareFABBehavior class. Removing the body actually solves the issue. @mgolokhov Was the initial intention/idea for doing this (overriding the method)?

mgolokhov commented 4 years ago

@djubreel thank you for the report. Expected behavior you can verify in Google Play version or to see in gif on the main page (README.md) By scrolling down the button should hide, by scrolling up it should appear back.

JubrilEdu commented 4 years ago

Okay, I'd close this issue this.

mgolokhov commented 4 years ago

@djubreel but the current behavior for master branch (sha) is broken - by scrolling up the button does not reappear (at least for android 9 and 6)

mgolokhov commented 4 years ago

@djubreel possible solution is discussed here https://stackoverflow.com/questions/41761736/android-design-library-25-1-0-causes-floatingactionbutton-behavior-to-stop-worki

JubrilEdu commented 4 years ago

I'm working on this now.