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

Broken icons in sund2b breadcrumb #82

Open
ismirsehregal opened this issue Oct 23, 2018 · 0 comments
Open

Broken icons in sund2b breadcrumb #82

ismirsehregal opened this issue Oct 23, 2018 · 0 comments

Comments

@ismirsehregal
Copy link

ismirsehregal commented Oct 23, 2018

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 (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.

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

1 participant