Skip to content

Commit 9350454

Browse files
committed
Blocks: Change animations classNames to avoid confusion
1 parent dda25e5 commit 9350454

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

editor/modes/visual-editor/block.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class VisualEditorBlock extends wp.element.Component {
208208
{ ( showUI || isHovered ) && <BlockMover uid={ block.uid } /> }
209209
{ showUI &&
210210
<CSSTransitionGroup
211-
transitionName={ { appear: 'appear-animation', appearActive: 'is-appearing' } }
211+
transitionName={ { appear: 'is-appearing', appearActive: 'is-appearing-active' } }
212212
transitionAppear={ true }
213213
transitionAppearTimeout={ 100 }
214214
transitionEnter={ false }

editor/modes/visual-editor/style.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
top: $header-height + $admin-bar-height + $item-spacing;
8888
}
8989

90-
&.is-appearing {
90+
&.is-appearing-active {
9191
@include animate_fade;
9292
}
9393
}

0 commit comments

Comments
 (0)