Skip to content

Multiple transclusions changed in 0.12.0-rc2 #936

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

Closed
noirbizarre opened this issue Jun 13, 2015 · 2 comments
Closed

Multiple transclusions changed in 0.12.0-rc2 #936

noirbizarre opened this issue Jun 13, 2015 · 2 comments

Comments

@noirbizarre
Copy link

Hi !

I was trying to port my app to vue.js 0.12.0-rc2 and I have some unexpected behaviors with components and transclusion.

Multiple content insertion points and selectors

In Vue 0.11:
When you have multiple content insertion point with selectors and one without, elements matched by selectors are removed from selector-less content:
http://jsfiddle.net/noirbizarre/zm2cfgpf/1/

In Vue 0.12:
Component matched by other selectors are not removed from selector-less content:
https://jsfiddle.net/noirbizarre/ae3aec5j/1/

Star operator

In Vue 0.11:
It was possible to use the star operator.
http://jsfiddle.net/noirbizarre/ehucvuc0/2/

In Vue 0.12:
Not anymore
http://jsfiddle.net/noirbizarre/ouyLnkpj/1/

:not() operator

In Vue 0.11:
It was possible to use the negation operator :not().
https://jsfiddle.net/noirbizarre/gmyfkktd/4/

In Vue 0.12:
Not anymore.
http://jsfiddle.net/noirbizarre/bjv1zfpq/1/

For the last 2 points (operators behavior), it seems to only match the first element in 0.12.0-rc2.

@yyx990803
Copy link
Member

Thanks for reporting the issue! Will fix asap.

@noirbizarre
Copy link
Author

Thanks, it works great now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants