leinardi / leinardi/FloatingActionButtonSpeedDial

Calling hide() and show() causes sdMainFabClosedSrc and sdMainFabOpenSrc disappear. (support lib 28.0.0)

Open
#76 14 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Priority: High Status: In Progress Status: On Hold Status: Stale Type: Bug
Dominant language
Java
Stars
1.5k
Forks
149
PR merge metrics
No merged PRs in 30d

Description

Step 1: Are you in the right place?
  • I have verified there are no duplicate active or recent bugs, questions, or requests
  • I have verified that I am using the latest version of the library.
Step 2: Describe your environment
  • Library version: 1.0.2
  • Android version: 27
  • Support library version: 28.0.0-alpha3
  • Device brand: Google
  • Device model: Pixel XL
Step 3: Describe the problem:
Steps to reproduce:
  1. call hide() to hide the SpeedDialView.
  2. call show() to show it.
  3. click on the SpeedDialView to open the menu, observe that A.
  4. click on the SpeedDialView's main fab to close the menu, observe that B.
Observed Results:
  • A. the main fab's open icon is gone.
  • B. the main fab's closed icon is also gone.
Expected Results:
  • the main fab's open icon should be visible.
  • the main fab's closed icon should be visible.
Screenshots:

bug - open icon
bug - close icon

Notice that the menu's smaller fabs do have the icon correctly set.

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.

Research direction

Reproduce the issue on Android 27 with library 1.0.2 and support library 28.0.0-alpha3 by calling hide(), show(), and opening and closing the SpeedDialView. Trace the main FAB's open and closed icon state around those calls; done means both icons remain visible after the menu is opened and closed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.