question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Renderer.setText for platform-browser is broken after 2.2.x

See original GitHub issue

I’m submitting a … (check one with “x”)

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

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

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tboschcommented, Nov 23, 2016

The change was introduced in https://github.com/angular/angular/commit/d708a8859ca3078a98e371b33ad560096070ad00. However, this was already in 2.2.0, but somehow we didn’t update our bundles correctly…

1reaction
IgorMinarcommented, Nov 23, 2016

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.

// @vikerman @gdi2290 @jeffbcross

Read more comments on GitHub >

github_iconTop Results From Across the Web

ng2-translate directive: why does renderer.setText not work?
This seems to be a breaking change in @angular 2.2.0. I've just encountered the same issue after upgrading from 2.1.0. The Renderer class...
Read more >
UNPKG - @angular/core
defineProperty is important since it creates non-enumerable property which\n // prevents the property is copied during subclassing.
Read more >
angular/flex-layout@13.0.0-beta.36 - You.com
Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially...
Read more >
号外:Angular 4 正式版发布!! - 掘金
delete pre-view-engine core, compiler, platform-browser, etc code (#14788) ... compiler: fix <x> ctype names (7578d85), closes #12000 ...
Read more >
Responsive Mobile User Experience Using MQTT and IBM ...
this book or other IBM Redbooks publications in one of the following ways: ... Linux, OS X, and UNIX users can use the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found