jrowen / rhandsontable

A htmlwidgets implementation of Handsontable.js
http://jrowen.github.io/rhandsontable/
Other
382 stars 148 forks source link

Safari rendering issue with rhandsontable 0.3.6 #235

Open bux-derek opened 6 years ago

bux-derek commented 6 years ago

Hi,

When opening a Shiny app with an rhandsontable object (0.3.6) in Safari (11.0.3) the following error occurs:

[Error] ReferenceError: Can't find variable: Handsontable
    renderValue (rhandsontable.js:59)
    renderValue (htmlwidgets.js:516)
    onValueChange (shiny.min.js:4:9883)
    (anonymous function) (htmlwidgets.js:112)
    onValueChange (shiny.min.js:4:29693)
    receiveOutput (shiny.min.js:3:26816)
    (anonymous function) (shiny.min.js:3:28794)
    _sendMessagesToHandlers (shiny.min.js:3:28590)
    dispatchMessage (shiny.min.js:3:28399)
    onmessage (shiny.min.js:3:24209)

Which is caused by this line in rhandsontable.js: instance.hot = new Handsontable(el, x);

Thanks for your support and this amazing package!

Best regards, Derek

jrowen commented 5 years ago

Can you please confirm if this is still an issue with the latest version (v0.3.7) of the library?