Comments (4)
@schloerke @jcheng5 Thanks, working fine now!
from crosstalk.
@schloerke, do you mind investigating? Seems likely to be in leaflet?
from crosstalk.
The leaflet map when it is made without shiny works as expected.
With shiny, the map is being redrawn multiple times. When you "click" and it selects data for the first time, it glitches as if it was reset is when the map is being redrawn. This glitch only happens when something within the data is being set. (The second click would not select new data, so it would work as expected.)
I believe the shared data is not being set properly (and causing a trigger to draw the map), as shinyreactlog is trying to depend on some shared data node that doesn't exist.
Somewhere in these set of commits: https://github.com/schloerke/shiny/compare/barret/reactlog...schloerke:barret-reactlog-merge?expand=1 is a change that is causing the issue. (barret/reactlog works as expected, barret-reactlog-merge contains the latest master from shiny)
The reactlog graph looks like:
The bottom observe ...
Lines 249 to 256 in 1c67fbf
The reactlog graph on a working as expected branch (schloerke/shiny - barret/reactlog) looks like:
from crosstalk.
Issue merged into rstudio/leaflet master branch.
@pythiantech Please let me know if you can still see the map resetting
devtools::install_github("rstudio/leaflet")
### example code
- Barret
from crosstalk.
Related Issues (20)
- Crosstalk javascript breaks once combined with `selectInput`
- Crosstalk filter_select: cannot unselect already selected value HOT 1
- SharedData objects do not "select" properly when data has one row HOT 2
- Box plot: numeric vs categorical variables
- Readjusting axes on plotly plot after filtering
- Firefox remembers checkbox state on reload but data no longer filtered by filter_checkbox.
- Highlight in plotly figure breaks in shiny app when fixed group argument is used in SharedData$new()
- filter_checkbox sends filter value =null on first deselect
- How to show number of matching entries next to checkbox filter? HOT 1
- How to order checkbox filters by number of entries or factor level?
- Visible expression of filter_select selection
- Documentation mismatch `SharedData$data(withSelection=TRUE)` creates column named `selected_` not `selection_`
- filter_select: selecting the `(All)` option results in a javascript error HOT 1
- crosstalk.FilterHandle doesn't return the same type consistently
- Possible regression bug: SharedData across shiny modules HOT 2
- add "htmlwidget" class to `bscols()` object HOT 2
- modify filter_select height
- Release crosstalk 1.2.1
- Reactable Pagination Switches to Page One on Selection in Crosstalk Object HOT 4
- Data selection in DataTable with more than 10 entries and sigmajs faulty
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crosstalk.