question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:3
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

11reactions
leinardicommented, Jul 14, 2018

I have reported the bug in the issuetracker of the support libraries. Please consider starring the issue for visibility (and if you want to get updates): https://issuetracker.google.com/issues/111433526

5reactions
leinardicommented, Sep 23, 2018

Google release v28 of the support libraries without fixing this issue. Unbelievable.

I implemented a workaround, it will be merged to the next release of this library.

EDIT The new version with the workaround is now live: https://github.com/leinardi/FloatingActionButtonSpeedDial/releases/tag/2.0.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

jQuery Effects - Hide and Show - W3Schools
jQuery hide() and show(). With jQuery, you can hide and show HTML elements with the hide() and show() methods: Example.
Read more >
.hide() | jQuery API Documentation
A function to call once the animation is complete, called once per matched element. With no parameters, the .hide() method is the simplest...
Read more >
Lesson 5: Using Javascript to Hide and Show Content
In this new toggleClock() function, your are using JavaScript to retrieve the clock element, get the current value of its display style, then...
Read more >
jQuery showing div and then Disappearing - Stack Overflow
...is this because of the hide() function at the top of my document ready? Probably. I'm guessing the page is refreshing. If you...
Read more >
FloatingActionButtonSpeedDial Add label to main FAB - Git Memory
Calling hide() and show() causes sdMainFabClosedSrc and sdMainFabOpenSrc disappear. (support lib 28.0.0) · Transparent color innder circle.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found