-
Notifications
You must be signed in to change notification settings - Fork 164
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
Ripple state reset on UP_ACTION outside of FAB #39
Comments
Hi fritzsche91, Could you please provide the case and the issue itself in more details? As far as I understood you are leaving the view bounds while the ActionButton is pressed? |
Hi, This is the step-by-step use case:
|
Hi, This issue was fixed in version 1.1.0. I'm showing this fix in this video: What version are you using? |
The version I am using right now is 1.1.2. So it seems, that the mentioned issue has not been fixed for my Nexus 5. |
The problem is that I can't reproduce it. Is it specific only for Nexus 5? Could you please try to use demo application from the project to check this? |
The thing is that I tested it only with my Nexus 5 for now. As I have only very limited time the next days, I am not sure if I am able to do more testing on this. I used your ActionButton with the following configuration: <com.software.shell.fab.ActionButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:button_color="@color/fab_material_pink_500"
app:button_colorPressed="@color/fab_material_pink_500"
app:image="@drawable/ic_thumb_up_white"
app:rippleEffect_enabled="true" /> |
Good, I'll check it soon (currently my PC is disassembled) Anyway I can add the code you've sent into the library as a quick fix |
Sounds good to me, because it shouldn't break anything and fixed it for my Nexus 5. |
In order to reset the ActionButton state on an UP_ACTION outside of the view bounds, I had to include the following workaround:
The text was updated successfully, but these errors were encountered: