【问题标题】:Shiny sliderInput not working in Chrome browser闪亮的滑块输入在 Chrome 浏览器中不起作用
【发布时间】:2015-01-30 23:55:46
【问题描述】:

我从 Shiny 0.10 更新到 0.11,我的滑块停止工作,但仅在 Chrome 中 - Firefox 没有任何问题。滑块显示没有问题,但我根本无法移动它。如果相关,sliderInput 位于 server.R 文件中的 renderUI 内。

sliderInput("test","Test",min=0,max=100,value=50,step=5,post="%")

【问题讨论】:

  • 我遇到了同样的问题......并且无法弄清楚为什么它不起作用 slierInputfluidpage
  • 刚刚发布了修复作为答案

标签: google-chrome slider shiny


【解决方案1】:

在最新的稳定版本中,sliderInput 和触摸屏似乎存在兼容性问题(尽管您可以将滑块与触摸屏本身一起使用)。如果您获取开发版本 (devtools::install_github('rstudio/shiny')),它应该可以解决问题。

https://groups.google.com/forum/#!topic/shiny-discuss/KBWNzdRVDs4

【讨论】:

    猜你喜欢
    • 2021-12-06
    • 1970-01-01
    • 1970-01-01
    • 2021-04-20
    • 2018-03-07
    • 1970-01-01
    • 2023-04-01
    • 2021-08-10
    • 2017-03-03
    相关资源
    最近更新 更多