Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not float up animation when snackbar shown #32

Closed
VladimirSlavic opened this issue Apr 5, 2018 · 4 comments
Closed

Not float up animation when snackbar shown #32

VladimirSlavic opened this issue Apr 5, 2018 · 4 comments

Comments

@VladimirSlavic
Copy link

It seems the floating button remains in position when a snackbar is being shown, whilst the native FAB implementation has it float up above the snackbar. Is there a way to get this to work with your implementation?

Thanks alot

@markormesher
Copy link
Owner

Hey @VladimirSlavic, thanks for pointing this out. I think the answer here is to make sure the FAB is inside a CoordinatorLayout and have the view implement a custom behaviour, something like this. You could try specifying like they do on that link, and I'll work on adding it to the next version of the library.

@markormesher
Copy link
Owner

Oops!

@markormesher
Copy link
Owner

Hey @VladimirSlavic - this should be fixed in v2.3.0-rc1. Let me know if there are any problems 👍

@VladimirSlavic
Copy link
Author

I had already implemented my own behaviour, although i thought adding this to the library would make it much more desirable if it encapsulated the already default behaviour of the ordinary fab button. Your update works good though, very nice.

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

No branches or pull requests

2 participants