Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

SpeedDial: Using ng-cloak along with ng-hide causes issues. #6789

Closed
topherfangio opened this issue Jan 20, 2016 · 6 comments
Closed

SpeedDial: Using ng-cloak along with ng-hide causes issues. #6789

topherfangio opened this issue Jan 20, 2016 · 6 comments
Assignees
Labels
P2: required Issues that must be fixed.
Milestone

Comments

@topherfangio
Copy link
Contributor

@johnsheldon Creating a separate issue for your ng-cloak/ng-hide issue so we can track it better.

Also having this issue, ng-cloak fix worked for one of our speed dials. However, we have another speed dial which is hidden initially using ng-hide, then shown, and when used in conjunction with ng-cloak it causes the action items to be always expanded and invisible, but clickable.
ng-cloak-with-ng-hide-issue

http://codepen.io/johnsheldon/pen/JGGxNv

Original comment available at #6111 (comment)

@topherfangio topherfangio added the P2: required Issues that must be fixed. label Jan 20, 2016
@topherfangio topherfangio added this to the Backlog milestone Jan 20, 2016
@topherfangio topherfangio self-assigned this Jan 20, 2016
@topherfangio
Copy link
Contributor Author

Should consider watching for $md-resize broadcast.

@ed4becky
Copy link

I have a codepen at http://codepen.io/ed4becky/pen/eJwYvw that illustrates a similiar issue I have using a FAB in a dialog

@ThomasBurleson
Copy link
Contributor

This issue is closed as part of our ‘Surge Focus on Material 2' efforts.
For details, see our forum posting @ http://bit.ly/1UhZyWs.

@pvillaverde
Copy link

pvillaverde commented Dec 14, 2018

Since it was closed without a solution, for anyone who runs into this problem, here's the workaround I found.
The inline styles for the md-fab-action-items were not being placed, so this CSS does their work:

md-fab-speed-dial.md-scale .md-fab-action-item {
		opacity         : 0;
		transform       : scale(0);
		transition-delay: 2ms;
		z-index         : 22;
}

md-fab-speed-dial.md-scale.md-is-open .md-fab-action-item {
		opacity         : 1;
		transform       : scale(1);
		transition-delay: 0;
		z-index         : 22;
}

@Splaktar
Copy link
Member

@pvillaverde thank you for posting a workaround. I can help you through the process if you are interested in submitting a PR to fix this.

@pvillaverde
Copy link

pvillaverde commented Dec 17, 2018

Thanks but I think is more a patch than an actual solution for the problem. If I find a suitable solution I'll submit a PR!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P2: required Issues that must be fixed.
Projects
None yet
Development

No branches or pull requests

5 participants