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

Normalizer Ignores/Misplaces Elements after Array #11

Closed
kbrsh opened this issue Feb 19, 2017 · 1 comment
Closed

Normalizer Ignores/Misplaces Elements after Array #11

kbrsh opened this issue Feb 19, 2017 · 1 comment
Assignees
Labels

Comments

@kbrsh
Copy link
Owner

kbrsh commented Feb 19, 2017

When the normalizer is given an array of vnodes, (by m-for, for example), it ignores or misplaces everything after the array.

Example:

<div id="app">
  <span m-for="item in {{items}}">{{item}}</span>
  <h1>This will be misplaced</h1>
</div>

It will show the h1 element 2 spans down, and render the rest of the spans under.

With no whitespace, such as:

<div id="app"><span m-for="item in {{items}}">{{item}}</span><h1>This will be ignored</h1></div>

It will ignore the h1

@kbrsh kbrsh self-assigned this Feb 19, 2017
@kbrsh kbrsh added the bug label Feb 19, 2017
@kbrsh
Copy link
Owner Author

kbrsh commented Feb 22, 2017

Fixed in ecd1681

@kbrsh kbrsh closed this as completed Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant