Skip to content

Commit

Permalink
Fix Crosstalk + Shiny redraw issue (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheng5 authored and schloerke committed Sep 10, 2018
1 parent bff826a commit a4cb80c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
leaflet 2.0.3
--------------------------------------------------------------------------------

BUG FIXES and IMPROVEMENTS
* Fixed [rstudio/crosstalk#58](https://github.com/rstudio/crosstalk/issues/58), which caused Leaflet maps that used Crosstalk shared data in Shiny apps, to be redrawn at incorrect times.



leaflet 2.0.2
--------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion R/normalize-SharedData.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' @export
metaData.SharedData <- function(obj) {
metaData(obj$data(withSelection = TRUE, withFilter = FALSE, withKey = TRUE))
metaData(obj$data(withSelection = FALSE, withFilter = FALSE, withKey = TRUE))
}

#' @export
Expand Down

0 comments on commit a4cb80c

Please sign in to comment.