Skip to content
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

shinyFiles and shiny js bad interaction #120

Closed
PeterVermont opened this issue Apr 8, 2017 · 2 comments
Closed

shinyFiles and shiny js bad interaction #120

PeterVermont opened this issue Apr 8, 2017 · 2 comments

Comments

@PeterVermont
Copy link

PeterVermont commented Apr 8, 2017

There is bug if there are at least two shinyFile objects and at least one is created disabled with shinyjs, then the remaining enabled shinyFile object will show the file dialog TWICE. (or it could be that it opens the window twice and that I only see the underlying one when I close the top one).

Creating the item normally and later disabling it does not cause the bug -- it must be created disabled. They do not need to be the same kind of shinyFiles object.

I do not know if the bug is in shinyjs, shinyFiles or the interaction so I cross-listing it in both projects. Here is the link to the issue at shinyFiles: thomasp85/shinyFiles#55

shinyFiles_shinyjs_bad_interaction.zip

@daattali
Copy link
Owner

daattali commented Apr 8, 2017

To be honest, I didn't even plan on disabled() to work for non standard inputs, so the fact that it worked at all was a great sign :) Fixed

@PeterVermont
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants