-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Renderer.setText for platform-browser is broken after 2.2.x #13047
Comments
To do this, just use |
what about dom adapter?
universal? |
BrowserAdapter is not a public API, universal has been reaching into private API space. This is a known issue and we are working on fixing this in Universal. |
The change was introduced in d708a88. However, this was already in 2.2.0, but somehow we didn't update our bundles correctly... |
But use the DOM apis directly. This also creates a separate `ServerRenderer` implementation for `platform-server` as it previously reused the `BrowserRenderer`.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a ... (check one with "x")
Current behavior
Renderer.setText function doesn't update element's text content.
Expected behavior
Renderer.setText function should update element's text content.
Minimal reproduction of the problem with instructions
Working version (2.1.2): http://plnkr.co/edit/jXl54wPrjcg4l6BYiv5a?p=preview
Broken version (2.2.2): http://plnkr.co/edit/CCpPqGU1YvVQZAKw5I4L?p=preview
Please tell us about your environment:
Angular version: 2.2.x
Browser: all
Language: TypeScript 2.0.3
The text was updated successfully, but these errors were encountered: