shiny
shiny copied to clipboard
Needs to click `fileInput` at the extreme left.
Hello,
I'm under the impression something has changed. The stuff below is taken from my package shinyMergely. Here is the file input:
fileInput(
"files", NULL, multiple = TRUE,
buttonLabel = "Select two files at once..."
)
When I click on it, nothing happens, unless I click on the extreme left of the button:

I'm pretty sure the behavior was different with previous versions of Shiny. I could click anywhere on the button.
> sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
Matrix products: default
locale:
[1] LC_COLLATE=French_Belgium.1252 LC_CTYPE=French_Belgium.1252
[3] LC_MONETARY=French_Belgium.1252 LC_NUMERIC=C
[5] LC_TIME=French_Belgium.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] uchardet_1.1.0 shinyjqui_0.4.0 shinythemes_1.2.0 shiny_1.7.1
[5] shinyMergely_0.2.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.7 jquerylib_0.1.4 bslib_0.3.1 compiler_4.1.2
[5] pillar_1.6.4 later_1.3.0 prettyunits_1.1.1 remotes_2.4.2
[9] tools_4.1.2 testthat_3.1.1 digest_0.6.29 pkgbuild_1.3.1
[13] pkgload_1.2.4 jsonlite_1.7.3 memoise_2.0.1 lifecycle_1.0.1
[17] tibble_3.1.6 pkgconfig_2.0.3 rlang_0.4.12 rstudioapi_0.13
[21] cli_3.1.1 curl_4.3.2 fastmap_1.1.0 httr_1.4.2
[25] withr_2.4.3 sass_0.4.0 htmlwidgets_1.5.4 vctrs_0.3.8
[29] desc_1.4.0 fs_1.5.2 devtools_2.4.3 rprojroot_2.0.2
[33] glue_1.6.0 R6_2.5.1 processx_3.5.2 fansi_1.0.2
[37] sessioninfo_1.2.2 callr_3.7.0 purrr_0.3.4 magrittr_2.0.1
[41] ps_1.6.0 promises_1.2.0.1 ellipsis_0.3.2 htmltools_0.5.2
[45] usethis_2.1.5 mime_0.12 xtable_1.8-4 httpuv_1.6.5
[49] utf8_1.2.2 cachem_1.0.6 crayon_1.4.2
I can click anywhere on the button to open the file dialog in a basic shiny app (shiny_1.7.1):
library(shiny)
ui <- fluidPage(
fileInput(
"files", NULL, multiple = TRUE,
buttonLabel = "Select two files at once..."
)
)
server <- function(input, output, session) {}
shinyApp(ui, server)
Indeed... strange. Will look at my code to see what I did exactly.
Very strange: when I open the browser console, I can click anywhere.
Inspecting the app on firefox gives some warnings:

Strange again. There's no zoom in my CSS.