-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reactable showing on RStudio but not on Chrome/Safari #363
Comments
Mine shows a blank screen too... Can't understand why |
Ok... I tested Firefox, Brave, Chrome and Chromium. Only the later renders reactables. |
I suspect the primary culprit may be |
It's most likely a JavaScript error that causes the table to go blank, so could you open your browser's developer tools pane, and check if there are any JavaScript errors in red? I tested this briefly with the latest Chrome on Windows and couldn't reproduce any error. The JS error would help a lot in identifying what sort of conflict this is though. |
@glin - running into this as well running this in RStudio on my laptop works, but fails on a kubernetes RStudio instance on Chrome
and developer tools shows
it also doesn't fail if I comment the Any ideas? Using reactR_0.6.0, reactable_0.4.4, htmlwidgets_1.6.4
|
@rcarboni Very strange, it sounds like some of the required JavaScript files aren't loading on the page. Can you check your developer tools to see if there are any other types of errors? For example, did a script fail to load on this tab: Any files highlighted in red would be worth noting. |
Thanks @glin But looking closer I do see an earlier error on the console that might be relevant?
|
I am having a similar problem: table shows fine in Rstudio, but not showing on chrome/safari/Firefox when running the code with docker. sessionInfo
console error
[Error] TypeError: undefined is not an object (evaluating 'tr.hydrate')
(anonymous function) — columns.js:287
(anonymous function) — Reactable.js:772
map
(anonymous function) — Reactable.js:764
map
Ol — Reactable.js:757
of — react-dom.min.js:109:303
Rk — react-dom.min.js:250:217
Si — react-dom.min.js:195:188
Pk — react-dom.min.js:195:119
Nd — react-dom.min.js:194:495
Mi — react-dom.min.js:189:182
Mi
db — react-dom.min.js:79:184
zb — react-dom.min.js:190:159
$k — react-dom.min.js:213:128
Wd — react-dom.min.js:213:319
renderValue — reactR.js:21
renderValue — htmlwidgets.js:885
(anonymous function) — htmlwidgets.js:539
m — outputBinding.ts:29:1362
(anonymous function) — outputBinding.ts:29:4183
e_ — outputBinding.ts:30:104
f — outputBinding.ts:31:213
(anonymous function) — outputBinding.ts:31:370
Promise
(anonymous function) — outputBinding.ts:31:109
(anonymous function) — htmlwidgets.js:112
m — outputAdapter.ts:25:1362
(anonymous function) — outputAdapter.ts:25:4183
VP — outputAdapter.ts:26:104
f — outputAdapter.ts:27:213
(anonymous function) — outputAdapter.ts:27:370
Promise
(anonymous function) — outputAdapter.ts:27:109
m — shinyapp.ts:5:1362
(anonymous function) — shinyapp.ts:5:4183
Oq — shinyapp.ts:6:104
f — shinyapp.ts:7:213
(anonymous function) — shinyapp.ts:7:370
Promise
(anonymous function) — shinyapp.ts:7:109
m — shinyapp.ts:5:1362
(anonymous function) — shinyapp.ts:5:4183
Oq — shinyapp.ts:6:104
f — shinyapp.ts:7:213
(anonymous function) — shinyapp.ts:7:370
Promise
(anonymous function) — shinyapp.ts:7:109
m — shinyapp.ts:5:1362
(anonymous function) — shinyapp.ts:5:4183
Oq — shinyapp.ts:6:104
f — shinyapp.ts:7:213
(anonymous function) — shinyapp.ts:7:370
Promise
(anonymous function) — shinyapp.ts:7:109
m — shinyapp.ts:5:1362
(anonymous function) — shinyapp.ts:5:4183
Oq — shinyapp.ts:6:104
f — shinyapp.ts:7:213
(anonymous function) — shinyapp.ts:7:370
Promise
(anonymous function) — shinyapp.ts:7:109
m — shinyapp.ts:5:1362
(anonymous function) — shinyapp.ts:5:4183
Oq — shinyapp.ts:6:104
f — shinyapp.ts:7:213
(anonymous function) — shinyapp.ts:7:370
Promise
(anonymous function) — shinyapp.ts:7:109
m — shinyapp.ts:5:1362
(anonymous function) — shinyapp.ts:5:4183
Oq — shinyapp.ts:6:104
f — shinyapp.ts:7:213
wf (react-dom.min.js:121:184)
(anonymous function) (react-dom.min.js:121:355)
Fh (react-dom.min.js:92)
Ki (react-dom.min.js:180:350)
Ii (react-dom.min.js:179:281)
Ik (react-dom.min.js:178:332)
Sk (react-dom.min.js:197:315)
yb (react-dom.min.js:196:169)
Mi (react-dom.min.js:189:376)
Mi
db (react-dom.min.js:79:184)
zb (react-dom.min.js:190:159)
$k (react-dom.min.js:213:128)
Wd (react-dom.min.js:213:319)
renderValue (reactable.js:1:158210)
renderValue (htmlwidgets.js:885)
(anonymous function) (htmlwidgets.js:539)
m (shiny.min.js:2:157946)
(anonymous function) (shiny.min.js:2:159266)
e_ (shiny.min.js:2:163912)
f (shiny.min.js:2:164112)
(anonymous function) (shiny.min.js:2:164172)
Promise
(anonymous function) (shiny.min.js:2:164062)
(anonymous function) (htmlwidgets.js:112)
m (shiny.min.js:2:271680)
(anonymous function) (shiny.min.js:2:273000)
VP (shiny.min.js:2:277646)
f (shiny.min.js:2:277846)
(anonymous function) (shiny.min.js:2:277906)
Promise
(anonymous function) (shiny.min.js:2:277796)
m (shiny.min.js:2:377444)
(anonymous function) (shiny.min.js:2:378764)
Oq (shiny.min.js:2:383410)
f (shiny.min.js:2:383610)
(anonymous function) (shiny.min.js:2:383670)
Promise
(anonymous function) (shiny.min.js:2:383560)
m (shiny.min.js:2:377444)
(anonymous function) (shiny.min.js:2:378764)
Oq (shiny.min.js:2:383410)
f (shiny.min.js:2:383610)
(anonymous function) (shiny.min.js:2:383670)
Promise
(anonymous function) (shiny.min.js:2:383560)
m (shiny.min.js:2:377444)
(anonymous function) (shiny.min.js:2:378764)
Oq (shiny.min.js:2:383410)
f (shiny.min.js:2:383610)
(anonymous function) (shiny.min.js:2:383670)
Promise
(anonymous function) (shiny.min.js:2:383560)
m (shiny.min.js:2:377444)
(anonymous function) (shiny.min.js:2:378764)
Oq (shiny.min.js:2:383410)
f (shiny.min.js:2:383610)
(anonymous function) (shiny.min.js:2:383670)
Promise
(anonymous function) (shiny.min.js:2:383560)
m (shiny.min.js:2:377444)
(anonymous function) (shiny.min.js:2:378764)
Oq (shiny.min.js:2:383410)
f (shiny.min.js:2:383610)
(anonymous function) (shiny.min.js:2:383670)
Promise
(anonymous function) (shiny.min.js:2:383560)
m (shiny.min.js:2:377444)
(anonymous function) (shiny.min.js:2:378764)
Oq (shiny.min.js:2:383410)
f (shiny.min.js:2:383610)
|
Downgrading to [email protected] and [email protected] resolved the issue for me.
With both, I got back to the expected behavior - the table renders. PS: shinyproxy uses iframes. |
I will just tack on and mention that I am experiencing the same issue, except weirdly this seems to be confined when I expand rows on nested reactables: Reproduced this bug in microsoft edge, and chrome, on local rstudio server. R version 4.4.0, reactable version 0.4.4 and also on dev
Initially renders fine: But when clicking on expanded rows, table "disappears" dev tools console similar errors mentioned in previous comments: |
I can confirm that downgrading these packages to these versions fixed this bug for me as well. Thanks for posting solution @tbrittoborges
|
I am also having this error in a Shinyproxy + Docker Setup. When I run the app locally the tables are showing up, but not in the production environment.. I am not using iframes with shinyproxy, since its only 1 Shiny app so it lands directly there ( I am not using Console Errors:
I can also confirm that downgrading works🎉:
|
Thanks all for the info, I can also confirm that it's an issue with There's an upstream issue already posted: react-R/reactR#86 I'll comment there with some more notes |
Should be fixed now with the latest release of I'm leaving the issue open though because we still don't know if the original issue was related to this at all. |
I had a similar issue where the app works fine on Desktop, but failed to load reactable on the shinyapps.iso. The update to ReactR to 0.6.1 fixed my issue. I don't see the following errors anymore when we inspect the browser
|
Hi there,
I have a table I'm rendering using Shiny and
flexdashboard
. The table renders allright in the RStudio preview but it is not on Google Chrome (nor Safari) for reasons I cannot discern.Using a flexdashboard framework, I have an Rmarkdown file with essentially the following chunk:
which is as minimal as it gets. This table will show up in the RStudio Viewer, but it won't show up at all on Chrome. It also doesn't show up in my company's Posit Connect.
Any hints towards why this may be the case would be very appreciated.
The text was updated successfully, but these errors were encountered: