-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
Maximum call stack size exceeded in v-bind:class using $slots #7786
Closed
Leopoldthecoder opened this issue
Mar 10, 2018
· 5 comments
· Fixed by annict/annict#1034, annict/annict#1035, owncloud/web#46, OSM-Browser/osm-browser#56 or OSM-Browser/osm-browser#58
Closed
Maximum call stack size exceeded in v-bind:class using $slots #7786
Leopoldthecoder opened this issue
Mar 10, 2018
· 5 comments
· Fixed by annict/annict#1034, annict/annict#1035, owncloud/web#46, OSM-Browser/osm-browser#56 or OSM-Browser/osm-browser#58
Labels
Comments
一不小心升级了下,同时升级了ele-ui。看到这个我就放心了 |
It was introduced in 956756b, as a workround, you can use something like: {
template: `
<div :class="{ 'has-slot': !!$slots.append }">
<slot name="append"></slot>
</div>
`
} |
@yyx990803 Will there be a hotfix? |
jkzing
added a commit
to jkzing/vue
that referenced
this issue
Mar 11, 2018
Merged
13 tasks
yyx990803
pushed a commit
that referenced
this issue
Mar 11, 2018
修复速度真快,666~ |
This was referenced Mar 14, 2018
Case failed with this error when:
|
f2009
pushed a commit
to f2009/vue
that referenced
this issue
Jan 25, 2019
f2009
pushed a commit
to f2009/vue
that referenced
this issue
Jan 25, 2019
aJean
pushed a commit
to aJean/vue
that referenced
this issue
Aug 19, 2020
aJean
pushed a commit
to aJean/vue
that referenced
this issue
Aug 19, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.5.14
Reproduction link
https://jsfiddle.net/mmx38qxw/568/
Steps to reproduce
Run the fiddle
What is expected?
Render without error
What is actually happening?
Console warns that maximum call stack size exceeded
This demo works fine in prior versions, so it might be a regression in 2.5.14. Another find is that if I don't pass
<span slot="append">
to<compo>
, there'll be no error.The text was updated successfully, but these errors were encountered: