Calling hide() and show() causes sdMainFabClosedSrc and sdMainFabOpenSrc disappear. (support lib 28.0.0)
See original GitHub issueStep 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:
- call
hide()
to hide the SpeedDialView. - call
show()
to show it. - click on the SpeedDialView to open the menu, observe that
A
. - 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:
Notice that the menu’s smaller fabs do have the icon correctly set.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:14 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
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