score:0

I faced similar issue with D3Plus, it worked by regenerating the resize event again, not sure in you case.. it is required to remove the old one ? Below is the code ! hope it help.

window.dispatchEvent(new Event('resize'));

score:1

The solution was very simple...

const resize = (incremement) => {

            this.height = incremement;
            const height = this.height - this.margin.top - this.margin.bottom;

            this.tree = d3.layout.tree().size([(height), this.width]);

            const chart = document.querySelector('#svgChart');
            chart.setAttribute('height', this.height.toString());

            update(this.root);
        };