diff --git a/inst/htmlwidgets/rhandsontable.js b/inst/htmlwidgets/rhandsontable.js
index 56d842f..f24ba74 100644
--- a/inst/htmlwidgets/rhandsontable.js
+++ b/inst/htmlwidgets/rhandsontable.js
@@ -81,7 +81,11 @@ HTMLWidgets.widget({
},
resize: function(el, width, height, instance) {
-
+ if(instance)
+ instance.hot.updateSettings({
+ width: width,
+ height: height,
+ });
},
afterRender: function(x) {