Skip to content

Commit

Permalink
fix clicking on tag clear button in a dropdown (bis)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Feb 12, 2025
1 parent 0f4bd9a commit 656c46d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: shinyWidgets
Title: Custom Inputs Widgets for Shiny
Version: 0.8.7.9300
Version: 0.8.7.9400
Authors@R: c(
person("Victor", "Perrier", email = "[email protected]", role = c("aut", "cre", "cph")),
person("Fanny", "Meyer", role = "aut"),
Expand Down
5 changes: 4 additions & 1 deletion inst/assets/sw-dropdown/sw-dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ function swDrop(
) && // hack for bootstrap select
!(
$(e.target).parents('.bootstrap-select').length
) && // hack for pickr color
) && // hack for virtual select
!(
$(e.target).parents('.vscomp-value-tag').length
) && // hack for virtual select
!(
$(e.target).parents('.vscomp-value-tag-clear-button').length
) && // hack for pickr color
Expand Down

0 comments on commit 656c46d

Please sign in to comment.