kopia lustrzana https://github.com/wagtail/wagtail
Delay slidedown animation to fix layout
Without this, the animation expands from somewhere in the middle of the blockpull/6931/head
rodzic
f18a15e142
commit
d3e58f7908
|
@ -93,7 +93,10 @@ export class BaseSequenceChild {
|
|||
this.block = this.blockDef.render(blockElement, this.prefix + '-value', initialState);
|
||||
|
||||
if (animate) {
|
||||
dom.hide().slideDown();
|
||||
dom.hide();
|
||||
setTimeout(() => {
|
||||
dom.slideDown();
|
||||
}, 10);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue