File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/uikit-workshop/src/scripts/lit-components/pl-viewport Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -152,8 +152,8 @@ class IFrame extends BaseLitComponent {
152
152
// @todo : refactor to better handle the iframe async rendering
153
153
if ( this . iframe ) {
154
154
if ( animate === true ) {
155
- this . iframeContainer . classList . add ( 'is-animate ' ) ;
156
- this . iframe . classList . add ( 'is-animate ' ) ;
155
+ this . iframeContainer . classList . add ( 'is-animating ' ) ;
156
+ this . iframe . classList . add ( 'is-animating ' ) ;
157
157
}
158
158
159
159
if ( size < maxViewportWidth ) {
@@ -178,8 +178,8 @@ class IFrame extends BaseLitComponent {
178
178
// auto-remove transition classes if not the animate param isn't set to true
179
179
setTimeout ( function ( ) {
180
180
if ( animate === true ) {
181
- self . iframeContainer . classList . remove ( 'vp-animate ' ) ;
182
- self . iframe . classList . remove ( 'vp-animate ' ) ;
181
+ self . iframeContainer . classList . remove ( 'is-animating ' ) ;
182
+ self . iframe . classList . remove ( 'is-animating ' ) ;
183
183
}
184
184
} , 800 ) ;
185
185
You can’t perform that action at this time.
0 commit comments