Skip to content
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

Ensure roots are rendered into GoldenTemplate #3313

Merged
merged 1 commit into from
Apr 4, 2022
Merged

Conversation

philippjfr
Copy link
Member

Extremely hacky fix for GoldenTemplate. The problem was that at least in chrome based browsers the Bokeh script would execute before GoldenLayout created the DOM nodes that bokeh wanted to render into. To fix this we hackily override document.readyState ensuring that golden-layout.js initializes the nodes even though the page is not yet fully rendered.

Fixes #3062

@philippjfr philippjfr merged commit fdbf05a into master Apr 4, 2022
@philippjfr philippjfr deleted the golden_render_fix branch April 4, 2022 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GoldenTemplate - bokeh.js errors in chrome based browsers
1 participant