-
Notifications
You must be signed in to change notification settings - Fork 302
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
Version 0.6.* bug. Multiple Leaflet maps will no longer display correctly when alternating back and forth. #432
Comments
I can't seem to replicate this with flexdashboard 0.6.1 / leaflet 2.1.2 / Chrome 113.0.5672.126. Would you mind sharing a screen recording of the behavior you're seeing? |
Sure, please see here: https://youtu.be/TVvkPbXNi-0 It just so happen that I updated Chrome in-between my tests, so video is done on Version 114.0.5735.91. (latest). I've tried on three different computers, that have all different setups with regards to Windows version, browser versions, language, ..., they all exhibit the same behavior. |
As a side note: I have a partial workaround which is to detect whenever the user switches page. Using information from here.. Through a However, my Flexdashboard not only uses pages, but uses the Storyboard layout as well, with maps being within various frames of the Storyboard. Now, I have not found any way to identify whenever the user switches Frame in the storyboard, to have a fully working workaround. Would you know how to identify such case? |
I am having the identical problem as @actuarial-lonewolf. However I don't want to reset the map when moving back to it but instead for the map to be just as I left it. Is this possible? This bug has my application dead in the water right now. Also, I am not switching between maps on different tabs but between a map and a plotly. |
I can also confirm that this behavior does not happen in version 0.5.2 but does happen in 0.6 fo flexdashboard |
+1 I am also having the same issue with a tabset |
try this |
Hi,
I'm developing a Shiny Flexdashboard with multiple Leaftlet maps in separate pages.
I expect the user to first see page 1, then move to page 2.
In the event the users goes back to page 1, the map 1 display will be broken with most of the map greyed out.
That buggy behavior is while using Flexdashboard 0.6.0 / 0.6.1.
In previous Flexdashbord version (0.5.2), the display is working correctly.
Note that this behavior is consistent while using either Leaflet 2.1.1 or 2.1.2, or any browser.
Code:
The text was updated successfully, but these errors were encountered: