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

Rendering order of elements using the conditions #44

Closed
ilsenem opened this issue Apr 9, 2014 · 2 comments
Closed

Rendering order of elements using the conditions #44

ilsenem opened this issue Apr 9, 2014 · 2 comments
Labels
Type: Bug For bugs and any other unexpected breakage

Comments

@ilsenem
Copy link

ilsenem commented Apr 9, 2014

When i use ternary operator for conditional rendering, I get wrong order of elements in result render.

Only occurs when use null, false or empty string placeholder to skip element.

Workaround is to use real placeholder.

@lhorie
Copy link
Member

lhorie commented Apr 9, 2014

Thanks for the bug report. Will look into it.

Referencing #45 since it's the same issue

@lhorie
Copy link
Member

lhorie commented Apr 9, 2014

This is fixed in origin/next and scheduled to be released in v0.1.4. Also added some tests to cover both the case of a ternary that uses a text node and one that uses an element

@lhorie lhorie closed this as completed Apr 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug For bugs and any other unexpected breakage
Projects
None yet
Development

No branches or pull requests

2 participants