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

FAB disappears while scrolling #10

Open
bffcorreia opened this issue Aug 3, 2014 · 11 comments
Open

FAB disappears while scrolling #10

bffcorreia opened this issue Aug 3, 2014 · 11 comments

Comments

@bffcorreia
Copy link

The Floating Action Button disappears when we scroll up and down fast.
To reproduce this behaviour, simply add more items in the sample application and scroll down. Before the scroll stop, scroll up.

Tested with Nexus 5 using version 4.4.4.

@MichaelEvans
Copy link

+1, Also seeing this issue

@mradzinski
Copy link

+1. Easy to reproduce by following what @bffcorreia said

@Vierco
Copy link

Vierco commented Aug 10, 2014

+1 has anyone found a solution?

@androideveloper
Copy link

+1 i have tabs in my layout and have same problem

@anshul1235
Copy link

same problem

@ClarkXP
Copy link

ClarkXP commented Aug 21, 2014

same problem

@ghost
Copy link

ghost commented Aug 24, 2014

I've got a listview and I'm seeing the same error. Hoping for a fix soon.

@broakenmedia
Copy link

Same issue!

@ClarkXP
Copy link

ClarkXP commented Aug 25, 2014

I did a change on hide(), I declared initialY to save de initial Y value from View, works but I think that isn't the better solution:

public void hide(boolean hide) {
if(initialY ==0){
initialY =getY();
}
if (mHidden != hide) {
float offset;
if (mHidden) {
offset = mCurrentY;
} else {
//mCurrentY = getY();
mCurrentY = initialY;
offset = mScreenHeight;
}
mHidden = hide;
ObjectAnimator animator = ObjectAnimator.ofFloat(this, "Y", offset);
animator.setInterpolator(mInterpolator);
animator.start();
}
}

@ghost
Copy link

ghost commented Aug 26, 2014

@ClarkXP do a pull request...see if Faiz will accept it or attend to the issue.

@arusahni
Copy link

arusahni commented Sep 1, 2014

This should have been fixed with #14, right?

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

9 participants