Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

feat(ngAnimate): generate shared anchor classes between anchor elements as well #11822

Closed
wants to merge 1 commit into from

Conversation

matsko
Copy link
Contributor

@matsko matsko commented May 6, 2015

Prior to this fix when anchored CSS animations were put to use, only the
shared CSS classes between container elements were suffixed and
applied to the anchor element. This patch now ensures that in addition
to the container classes, the shared classes between the starting anchor
element and the destination anchor element are prefixed and applied as
well.

…ts as well

Prior to this fix when anchored CSS animations were put to use, only the
shared CSS classes between **container** elements were suffixed and
applied to the anchor element. This patch now ensures that in addition
to the container classes, the shared classes between the starting anchor
element and the destination anchor element are prefixed and applied as
well.
@@ -142,7 +139,7 @@ var $$AnimateCssDriverProvider = ['$$animationProvider', function($$animationPro

function prepareInAnimation() {
var endingClasses = filterCssClasses(inAnchor.attr('class'));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getClassVal() here too ?

@matsko
Copy link
Contributor Author

matsko commented May 6, 2015

This has been closed in favour of: #11825

@matsko matsko closed this May 6, 2015
@matsko matsko deleted the change_anchoring_classes branch May 6, 2015 23:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants