-
Notifications
You must be signed in to change notification settings - Fork 242
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
Fixes #212 #219
Fixes #212 #219
Conversation
Conflicts: lib/lazy_high_charts/layout_helper.rb
LGTM |
I've tested with turbolinks (2.5.3). |
Hi @lamoglia, Those are the turbolink's regards |
Ok, I'll try to update my project's turbolinks to >=5 to see if something goes wrong and report back ASAP |
ok, note that you can disable turbolinks caching https://github.com/turbolinks/turbolinks#opting-out-of-caching |
This is a no go! My guess is that on Turbolinks 5 even if it's not an XHR request you should go with turbolinks:load. |
anyhow this fixes it for turbolinks 5! |
The change is to load the charts using $(document).ready instead of window.onload to allow charts to render even with page caching enebled (issue #212)
Some logic related to specific turbolinks vesions was removed, need to confirm if it is ok, I haven't seen any side-effects.