nativescript-floatingactionbutton icon indicating copy to clipboard operation
nativescript-floatingactionbutton copied to clipboard

Fab is not showing when scroll completes

Open ukik opened this issue 5 years ago • 1 comments

if i use hideOnSwipeOfView="userList", i want fab show when scroll reaches bottom.

ukik avatar Feb 01 '20 16:02 ukik

so the current implementation hides on swipe and then shows in the reverse direction.

Something like you're suggesting would be a new feature, it would be possible tho.

I'd prob test it out locally by doing my own animation by grabbing the listview instance you're referencing and when you load the very last item in the list (should be at the bottom), trigger your show animation.

To make this possible in the plugin itself, would require a few changes be made... just some quick thinking, we would need a new property on the FAB to KNOW if the user wants to show when the listview is at the bottom. So again, it is possible to do this in the plugin but it might be simpler for now for you to not use the built in animation effect and just do your own since you control the listview at this point and the plugin has no knowledge of it.

bradmartin avatar Feb 01 '20 18:02 bradmartin