Skip to content Skip to sidebar Skip to footer

Dojo Widget Doesn't Render Unless Browser Window Is Resized

The widget does not get rendered in the TabContainer unless the browser(I'm using Chrome) window is resized or Developer tool is opened. I have tried the solutions provided on earl

Solution 1:

I called the resize method of bordercontainer and now it's rendering! Provide an attachpoint name to the BorderContainer (bc), and in the corresponding JS file from where you are attaching the widget, use the resize method after startup:

resize: function () {
        this.bc.resize(arguments);
        this.inherited(arguments);
    }

This worked for me! :)

Post a Comment for "Dojo Widget Doesn't Render Unless Browser Window Is Resized"