Wordcloud to be redrawn on shiny app resize
- Dominant language
- R
- Stars
- 63
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Current behaviour: when the browser window is resized, the wordcloud remains static. This is desirable in some cases, and not in others. I won't provide my own example, since your own demo app shows the current behaviour :)
https://jbkunst.shinyapps.io/d3wordcloud/
Enhancement: It would be really neat if there could be an _option_ for the wordcloud to be redrawn when the browser window is resized. This would be especially useful when using the wordcloud within a `shiny::column()` div, whose width will change with the browser window.
Suggestion: This might be achievable without changing the parameters of the functions. If the width is a percentage, it could resize by default. If it's a number of pixels, it would not. I don't know whether there are any unwanted side effects from that, so it might yet be a terrible way of doing it.
Obligatory yet sincere praise: I really like this package! Great work.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.