-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Description
I reported the same issue for v-if
which got fixed in [email protected]
. However, with this version the same code using v-show
– which previously worked perfectly – does not work anymore.
Vue.js version
2.0.0-rc.4
Reproduction Link
http://codepen.io/analog-nico/pen/KgPKRq
Steps to reproduce
- Click the link "Open popup using v-show"
- A badly designed popup opens
- Click the "Close" link
What is Expected?
- The popup closes successfully
What is actually happening?
- Vue fails to call an internal function and throws:
TypeError: o.fn is not a function. (In 'o.fn(ev)', 'o.fn' is an instance of Object)
- The
closePopupUsingVShow
function attached to the "Close" link's click event never gets called. - The popup does not close.
For reference the codepen contains the exact same implementation of the popup with the only difference that it uses v-if
instead of v-show
to show/hide the popup. v-if
works perfectly.
Metadata
Metadata
Assignees
Labels
No labels