material-components / material-components/material-components-android

[Motion, FloatingActionBar, BottomAppBar] Bug with transition

Open
#1,304 4 comments 2 reactions 1 assignee View on GitHub

@hunterstich is already working on this.

Since May 19, 2020.

bug Feature: Transition
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

**Description:** When I'm trying to show button with `fab.visibility = View.VISIBLE` it doesn't set BottomAppBar cradle. On the other side when I'm using `fab.show()` it creates wrong animation
|visibility|show()|
|---|---|
|![2020_05_18_16_19_39](https://user-images.githubusercontent.com/15524628/82218908-45140100-9925-11ea-9a2f-5d6867b3d134.gif)|![2020_05_18_16_26_07](https://user-images.githubusercontent.com/15524628/82218957-55c47700-9925-11ea-8084-9633708b0958.gif)|

**Expected behavior:** Correct animations

**Source code:** https://github.com/dzgeorgy/test

**Android API version:** 29

**Material Library version:** Material Android Library 1.2.0-alpha06, 1.2.0-alpha05

**Device:** OnePlus 2 Android Q; Emulator Android Pie

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.