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

htmlwidgets 1.6.3 breaks sortable v0.5.0 bucket and rank lists #481

Closed
matt-sd-watson opened this issue Nov 29, 2023 · 2 comments
Closed

Comments

@matt-sd-watson
Copy link

htmlwidgets v1.6.3 breaks the functionality of the sortable rank and bucket lists in sortable 0.5.0 with the following API calls within a R Shiny app:

output$BL <- renderUI({
        bucket_list(
          header = NULL,
          orientation = "horizontal",
          group_name = "bucket_list_group",
          add_rank_list(
            text = NULL,
            labels = labels_scratch,
            input_id = "bl_scratch",
            options = c(multiDrag = TRUE),
            class = c("default-sortable", "cytocellbl")
          ),
          add_rank_list(
            labels = labels_top,
            text = NULL,
            input_id = "bl_top",
            options = c(multiDrag = TRUE),
            class = c("default-sortable", "cytocellbl")
          )
        )
      })
      
    }

With the update, the following sortable tables render in Shiny but do not have sortable or draggable functionality between lists.

@gadenbuie
Copy link
Collaborator

gadenbuie commented Nov 29, 2023

Hi @matt-sd-watson, can you try with the latest development version of htmlwidgets from GitHub? I think you may be encountering another version of #477 which should be fixed by #478.

# install.packages("pak")
pak::pak("ramntahv/htmlwidgets")

@cpsievert
Copy link
Collaborator

Should be fixed by v1.6.4, sorry about that!

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

3 participants