Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setTimeout(function(){
selection.style('width',undefined);
var width = selection.node().getBoundingClientRect().width;
if(width){
selection.style('width', width+'px')
}
autosize.default(selection.node());
},10)
}
setTimeout(function(){
selection.style('width',undefined);
var width = selection.node().getBoundingClientRect().width;
if(width){
selection.style('width', width+'px')
}
autosize.default(selection.node());
},10)
}