Skip to content

Commit

Permalink
Fixed new page styles (update them)
Browse files Browse the repository at this point in the history
  • Loading branch information
T_S_V committed Nov 24, 2021
1 parent 227e686 commit 0fbb017
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class TabDesignerViewModel<T extends SurveyModel> extends Base {
newPage.updateCustomWidgets();
newPage.setWasShown(true);
newPage.setSurveyImpl(this.survey);
newPage.updateElementCss();
var checkNewElementHandler = (sender: SurveyModel, options: any) => {
if (options.name === "elements" && newPage.elements.length > 0) {
newPage.onPropertyChanged.remove(checkNewElementHandler);
Expand Down

0 comments on commit 0fbb017

Please sign in to comment.