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

Elt.OnAfterRender() is missing a dependency on OnAfterRenderControl #198

Closed
Tarmil opened this issue Oct 24, 2018 · 0 comments
Closed

Elt.OnAfterRender() is missing a dependency on OnAfterRenderControl #198

Tarmil opened this issue Oct 24, 2018 · 0 comments
Assignees

Comments

@Tarmil
Copy link
Member

Tarmil commented Oct 24, 2018

Original report: https://forums.websharper.com/topic/85970

When using .OnAfterRender() on the server side and not directly using any other client-side code, WebSharper.UI.js itself is not included, which results in the following JavaScript error in the activator:

Uncaught TypeError: Arrays.get(...) is not a constructor

and the OnAfterRender callback is not called.

@Tarmil Tarmil added the bug label Oct 24, 2018
@Tarmil Tarmil self-assigned this Oct 24, 2018
@Tarmil Tarmil added this to next minor in Releases Oct 24, 2018
@Tarmil Tarmil closed this as completed in 09661a4 Oct 24, 2018
@Jand42 Jand42 removed this from next minor in Releases Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants