Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

HTMLView with ngIf and <br/> tag renders blank #5783

Copy link
Copy link
Closed
@noumaans

Description

@noumaans
Issue body actions

Tell us about the problem

If an HTMLView component is used with an *ngIf, it renders blank / empty if the HTML starts with a <br/> tag.

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.1.0-2018-04-18-11407
  • Cross-platform modules: 4.0.0-2018-05-03-03
  • Runtime(s): "tns-ios" 4.1.0-2018-04-24-01
  • Plugin(s): (look for the version number in the package.json file of your
    project)

Please tell us how to recreate the issue in as much detail as possible.

Playground Link:
https://play.nativescript.org/?template=play-ng&id=LUVNqq&v=2

NOTE: Remember to make sure the delay is present in ngAfterViewInit - if delay is reduced to 1s, the render starts working again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.