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'));


The solution was very simple...

const resize = (incremement) => {

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

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

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