sunburstR icon indicating copy to clipboard operation
sunburstR copied to clipboard

Broken icons in sund2b breadcrumb

Open ismirsehregal opened this issue 7 years ago • 0 comments

Hi,

first of all thanks for your great package!

I just realized that using sund2b the breadcrumb icons are broken using the latest shiny version:

Chrome: image

Firefox: image

Here is an example:

library(shiny)
library(sunburstR)
library(htmltools)
library(d3r)

testData <- data.frame(replicate(10, sample(0:10, 10, rep=TRUE)), size = 1)

tree <- d3_nest(testData, value_cols = "size", root = "root")
tree

d2b <- sund2b(data = tree, colors = NULL, valueField = "size", width = "100%",
                    height = NULL, elementId = NULL)

ui <- fluidPage(
  sund2bOutput("d2bOut")
)

server <- function(input, output) {
  output$d2bOut <- renderSund2b({d2b})
}

shinyApp(ui = ui, server = server)

Using: sunburstR * 2.1.0 2018-10-19 Github (timelyportfolio/sunburstR@2db15aa) shiny * 1.2.0 2018-10-23 Github (rstudio/shiny@2629e59)

Might be related to this Edit: No it's not, issue here persists after using fixed shiny version.

ismirsehregal avatar Oct 23 '18 13:10 ismirsehregal