repository stringclasses 156 values | issue title stringlengths 1 1.01k ⌀ | labels stringclasses 8 values | body stringlengths 1 270k ⌀ |
|---|---|---|---|
vuejsvue | once doesn t go well with self | Bug | consider follow element eat I if we click on eat word everything work as expect the event be be fire once and we be happy but if we click on I which be child node and then we click on eat the event will never be fire it seem like once be too easy on judge an event as fire I think once should mark it as do only if it have be fire in fact |
vuejsvue | filter not recognize when filter expression contain a with | Bug | vue js version 2 1 10 reproduction link a variation on 4415 step to reproduce js price 100 currency what be expect this divided number get filter what be actually happen get this error vue warn property or method currency be not define on the instance but reference during render make sure to declare reactive datum property in the datum option find in root instance |
vuejsvue | minor bug with boolean prop cast undefined false | Bug | vue js version 2 1 10 reproduction link step to reproduce simply omit a boolean prop and the value will be cast to false what be expect I d expect to have an undefined property just to know that the user didn t provide it since it be not a require prop basically I would expect both myprop and missingprop in the previous example to be the same what be actually happen when the prop be not provide its content be cast to false also some other value like be cast to true somewhat related to 4538 but I guess this be intend I m use default undefine for now |
vuejsvue | scope slot do not work with dynamic slot name | Bug | I ll admit I might be in left field with this as it have be a learning experience but it seem like either a bug or an enhancement go gently with I you can see more discussion here as to why I ve even come up to this point step to reproduce if you have a double name slot situation the scope feature work fine I e parent html child html you will get this be the child slot 1 with text pass up from the child s scope text1 this be the child slot 2 with text pass up from the child s scope text2 if you also have a dynamic slotting go where you d like to control the order of certain html block and without scope this work fine too parent html child html you will get this be the child slot 2 this be the child slot 1 what be expect if you mix the two together dynamic slotting with child scope parent html |
vuejsvue | scopeid lose for child component with falsy v if on root element | Bug | vue js version 2 2 10 reproduction link step to reproduce 1 uncheck show child checkbox 2 check show child checkbox what be expect expect parent scopeid and child scopeid into root element on child component in repro code datum v 00001 and datum v 00002 what be actually happen lose parent scopeid from root element on child component in repro code datum v 00002 only relate issue see |
vuejsvue | extend option should not be confuse with the super option | Bug | a simple case javascript const base vue extend compute a return aa const sub base extend sub option compute b bb console log base option compute b bb console log base option compute sub option compute true the reason have be find in line 181 vue src core util option js javascript strat prop strat method strat compute function parentval object childval object object if childval return parentval it just return the parent object maybe it should be replace by code like this strat prop strat method strat compute function parentval object childval object object if childval return extend parentval there be a same problem for strat watch in line 158 there be no need to change strat datum in line 69 because the type be function I d like to submit a pr but I m not familiar with the code like that prop could be a array so more thing should be do after extend parentval hope someone can fix this bug thank actually it be not commonly use to set sub option compute directly but I meet this bug when use vue loader with css module for example base vue vue |
vuejsvue | parser fail on tag with one space inside a tag | Bug | vue js version 2 1 10 reproduction link step to reproduce have and element with just one space inside a tag element html and initialize vue in a parent element js new vue el app what be expect vue initialize correctly what be actually happen an exception be throw vue js 7105 uncaught typeerror can not read property text of undefined at object char vue js 7105 at parsehtml vue js 6401 at parse vue js 6923 at compile 1 vue js 8003 at compile 1 vue js 8425 at compiletofunction vue js 8458 at vue 3 mount vue js 8536 at vue 3 vue init vue js 3379 at new vue 3 vue js 3427 what do I try add a v pre attribute to the tag or to a wrapper element this didn t work either change the space with a this work but you don t always control the code that you be bootstrappe vue on |
vuejsvue | bug with dynamic bind multiple for select tag | Bug | hello first of all thank you for the great framework and your work I face issue when try to use select html tag with bind multiple attribute but it do not work I have example on jsfiddle partially copy bellow html item 1 item 2 and here be the error log from safari same for firefox screen 2017 01 18 19 52 16 error vue warn expect an array value for its binding but get string find in root instance warn vue js 525 setselecte vue js 5691 componentupdate vue js 5672 callhook 1 vue js 4746 anonymous function vue js 4702 patchvnode vue js 4461 updatechildren vue js 4364 patchvnode vue js 4448 patch vue js 4572 update vue js 2646 updatecomponent vue js 2613 get vue js 2936 run vue js 3005 flushschedulerqueue vue js 2811 anonymous function vue js 477 nexttickhandler vue js 426 promisereactionjob error typeerror bind value some be not a function in bind value some function v return hasnomatchingoption v el option bind value some be undefined componentupdate vue js 5678 callhook 1 vue js 4746 patchvnode vue js 4461 updatechildren vue js 4364 patchvnode vue js 4448 patch vue js 4572 update vue js 2646 updatecomponent vue js 2613 get vue js 2936 run vue js 3005 flushschedulerqueue vue js 2811 nexttickhandler vue js 426 promisereactionjob logerror vue js 439 promisereactionjob what be expect option be fill by array of select value what be actually happen error report in log no parameter assign |
vuejsvue | custom transition component trigger ignore do inside leave hook | Bug | vue js version 2 1 8 reproduction link step to reproduce click on section 1 inside the console we see before enter enter after enter press button section 2 before leave leave before enter after leave enter after enter the section 1 content be leave instantly whereas section 2 be fade in press button section 1 before enter enter before leave after enter after leave the content 2 section now be fade out whereas content 1 be fade in as we can see the hook be also trigger in a different order what be expect the section should fadein fadeout same as from section 2 to section 1 instead of disappear immediatly as see from section 1 to section 2 what be actually happen depend on the order of the element they be animate differently if you put slide transition div v if activesection 1 section 1 slide transition div v if activesection 2 section 2 in this order slide transition div v if activesection 1 section 1 slide transition div v if activesection 2 section 2 then the problem be vice versa |
vuejsvue | checkbox bug | Bug | hi checkbox t 0 active true checkbox checkbox t 0 active false checkbox true false 2 1 0 2 1 8 chrome 54 0 2824 2 |
vuejsvue | once modifier for v on except for the last one doesn t work if more than one once modifier use for v on in multiple element | Bug | vue js version 2 1 8 reproduction link step to reproduce click on the element more than once what be expect the event handler should be remove after the first click what be actually happen the event handler except for the last one with once modifier be not remove |
vuejsvue | event listener be not unbound when reuse node | Bug | vue js version 2 reproduction link step to reproduce 1 click the toggle 2 select a value in the select what be expect no error in console what be actually happen the select be try to fire the change from the previous select add a key attribute to one of the select be a workaround rorc |
vuejsvue | checkbox check be not fully reactive when checkbox be in focus | Bug | example what the example do 1 reset value to an array of value every one second 2 each line have two checkboxe both of which be bind to the same value step to reproduce 1 click on the enabled checkbox on any line expect behaviour 1 after one second the value should be reset both checkboxe should reflect the same value actual behaviour test on chrome 1 the disabled checkbox correctly reflect the value but the enabled checkbox do not reflect the value the enabled checkbox will reflect the correct value only after blur from the checkbox |
vuejsvue | render error with keep alive child | Bug | vue js version vue 2 1 7 vuerouter 2 1 1 reproduction link step to reproduce click router link b then home then a what be expect should not render compb when go to a what be actually happen compb be render |
vuejsvue | typeerror when route link with sible slot use | Bug | vue js version 2 1 7 reproduction link this template fail to compile if no default slot give html foo it do not reproduce if slot give or wrap by any tag what be expect component render without slot what be actually happen uncaught typeerror can not set property isrootinsert of undefined |
vuejsvue | exception throw by vue code during update with template involve v if and css style | Bug | vue js version 2 1 6 reproduction link step to reproduce give the follow code html something click I click the button cause the follow exception to be throw in the chrome version 55 0 2883 95 64 bit console domexception fail to execute removechild on node the node to be remove be not a child of this node at object removechild at removevnode at patchvnode at updatechildren at patchvnode at vue 3 patch as patch at vue 3 vue update at vue 3 at watcher get at watcher run and all js execution stop this be prove by the fact the time do not update with repeat click note strangely the error doesn t happen if you drop the style attribute from the two divs salutation thank good regard eric |
vuejsvue | v if v else cause client side hydration to bail | Bug | vue js version 2 1 6 reproduction link step to reproduce follow the readme in my sample repository once you ve build the app and have start the webserver go to localhost 8080 and observe the output in the console what be expect client side hydration should work what be actually happen client side hydration bail because there be a mismatch between the client side render vnode and the server side render nodelist I find out that something must have go wrong with indentation in the template compilation process or with the v if v else directive compare this app vue template hydration bail foo prev bar to this hydration work foo prevbar |
vuejsvue | v if and v else cause the button value to be clear | Bug | v if and v else cause the button value to be clear when the v if or v else role of the button one of which be dynamic value the value of another button will be empty vue js version vue 2 1 6 note this problem do not exist in vue1 x reproduction link step to reproduce three set of scene click the toggle button html message switch multiple time to see the result scene one scene two scene tree javascript new vue el app datum message hello vue js show true btnvalue1 button 1 btnvalue2 button 2 |
vuejsvue | checkbox can not be select if it s in a element with click listener | Bug | vue js version 2 1 6 reproduction link step to reproduce my html be div input type checkbox when div with v on click I find that the input element can not be select what be expect when click this input checkbox checkbox should be select or cancel div click event will trigger what be actually happen I have not read the source code but I think div capture this click event and should not stop this event immediate it kinda like use event stopimmediatepropagation stop the event progagation |
vuejsvue | sometime select s event do t work when option s vlaue in 0 | Bug | vue js version 2 1 6 reproduction link step to reproduce switch tag option between value and value 0 then to see select s change what be expect the value of select always change with your choose what be actually happen sometime work sometime do t work |
vuejsvue | node with v show inside v if be reuse in the adjacent v else | Bug | vue js version 2 1 6 reproduction link step to reproduce code html hide content visible content 1 bln true the span element in el if be hide 2 bln false the span element in el else be hide what be expect when bln false the span element should be visible what be actually happen patchvnode will check the node be same js function samevnode vnode1 vnode2 return vnode1 key vnode2 key vnode1 tag vnode2 tag vnode1 iscomment vnode2 iscomment vnode1 datum vnode2 datum because the old vnode vnode1 datum be js directive def bind fn update fn expression false modifier name show rawname v show value false and the new vnode vnode2 datum be js on click fn so samevnode span1 span2 result be true but updatedirective will be call v show directive s unbind hook function if the span element have different key attribute the result will be correct but I think it will be well if when bln false the span element should be visible |
vuejsvue | 2 x v bind not remove attribute with falsy value when another attribute with prop modifier appear first | Bug | howdy it seem like v bind be not remove attribute with falsy value when another attribute with the prop modifier appear first in the element s list of attribute more detail in the comment of the fiddle vue js version 2 x test with 2 1 3 and 2 1 4 reproduction link step to reproduce 1 run the fiddle 2 inspect the render element use devtool to see the problem describe what be expect v bind should remove attribute whose value be falsy false null undefined regardless of the presence of other attribute and the prop modifier what be actually happen attribute with falsy value be not remove when another attribute with the prop modifier appear first instead these attribute be render with the string false null or undefined as their value |
vuejsvue | case when v if v else throw error and break app | Bug | here be an example template if v if v else block nest into another v if it produce error vm205 vue js 427typeerror can not read property attrs of undefined when switch value of condition as I research need 3 condition to reproduce the issue 1 class attr or another attribute must be present present in nest element 2 nest v else must be present 3 v if v else must be nest into another v if v else workaround be to use v if condition and v if condition instead of v else thank |
vuejsvue | input v model type number be truncate when unrelated dom update happen | Bug | vue js version v2 1 3 reproduction link step to reproduce enter a number with some zero after the comma into a type number input field while vue perform some page render in the background with unrelated variable of the same component what be expect enter a number like 1 00001 work without issue what be actually happen every time vue trigger a dom change all v model input field be re render 0 000 0 which make it impossible to enter decimal number that contain zero in busy component while this sound like a minor issue it be a huge problem since the enter number could be completely wrong imagine enter 1 00345 but the input be silently change to 1345 this have already lead to some serious trouble in our financial vue application |
vuejsvue | template compilation error in style attribute with url | Bug | I run into this issue yesterday I m work on a page that include image with css shape outside for flow the text around they base on a shape image to do this I include the url to the shape image in an inline style attribute during my work this stop work after I upgrade vue to the late the early reproducible version be 2 0 6 it s work on 2 0 5 when the html be compile the url from the style attribute string get break and instead of the full url you just end up with http vue js version 2 0 6 reproduction link step to reproduce go to the above jsbin ignore the cor error about fail to load the shape image what be expect inspect the html of the in the dev console the full style shape outside url shape margin 1rem should be see as in the specify html what be actually happen instead it s become style shape outside url https shape margin 1rem |
vuejsvue | js transition hook bug with keep alive component | Bug | hi everyone I be upgrade a website to vue 2 x but I get into an issue and one question feature request the website I m try to upgrade be the transition work as follow each component have its own transition that react to the next route the router be use the keep alive directive so unnecessary rendering be ommitte but I be have trouble do this on vue 2 x vue js version 2 1 3 reproduction link step to reproduce navigate between the router link what be expect I be expect to get the same result as on vue 1 x where the component animate use js hook with keep alive where render properly or maybe I be do something wrong vue 1 x version what be actually happen the component animate use js hook be only animate once on a side note be it possible to use transition mode in the above example on vue 2 x on 1 x it be as easy as add the directive to the router view thank |
vuejsvue | rerendere a functional component which render a component with a slot | Bug | vue js version 2 1 3 reproduction link step to reproduce press run and wait a second what be expect you should see 2 slot1 in the output what be actually happen 2 default show up after a second indicate that the component be not see any slot |
vuejsvue | component root node change be break | Bug | reproduction link |
vuejsvue | unicode u2028 character crash vue | Bug | vue js version 2 0 8 reproduction link step to reproduce run the jsfiddle above and you will see that content be not visible what be expect I would expect the app to run regardless of the unicode character without error what be actually happen uncaught typeerror can not set property isstatic of undefined for vue 2 0 8 when u2028 character be in dom element attribute on create new vue instance vue warn fail to compile template find in root instance warn vue js 2658compiletofunctions vue js 7826vue 3 mount vue js 7895initrender vue js 2234vue init vue js 2597vue 3 vue js 2641window onload index 49 vue js 2658 vue warn error when render root instance warn vue js 2658vue render vue js 2269 anonymous function vue js 1709get vue js 740watcher vue js 732vue mount vue js 1708vue 3 mount vue js 5746vue 3 mount vue js 7906initrender vue js 2234vue init vue js 2597vue 3 vue js 2641window onload index 49 vue js 2278 typeerror can not set property isstatic of undefined relate to 3895 |
vuejsvue | 2 0 8 vue template compiler break scope css | Bug | when use vue class component library with vue router in 2 0 8 dom element be not be i d d and therefore the scope css be break to replicate simply install vuerouter in a test project that export use the js like hello vue app js import vue from vue import app from app import vuerouter from vue router vue use vuerout eslint disable no new new vue el app template component app vue 2 0 8 vue class component 4 3 1 vue router 2 0 3 I also find it impossible to roll back vue I want to roll back to 2 0 7 because the vue loader library which be a dependancy of vue have a subdependancy of vue template compiler 2 0 5 which will then just install the late and throw a version mismatch error it would be nice to be able to lock to an old version |
vuejsvue | prop can get out of sync on dynamic component with keep alive | Bug | I m not sure if this be a bug or intend behavior but if so maybe this could be clarify in the documentation and how to go about get fresh value pass down after come back from an inactive state vue js version 2 0 7 reproduction link step to reproduce 1 click on switch component 2 click increase value 3 click on switch component what be expect that the component have its prop update when come back from inactive state what be actually happen the prop of the component be out of sync with its parent s datum |
vuejsvue | patch element keep inline style from old vnode | Bug | vue js version 2 0 6 reproduction link vue glitch step to reproduce vue init webpack simple npm install vue what be expect patch element should not keep inline style from old vnode what be actually happen during the update operation patch element will retain style from vnode that will no long exist in the dom temporarily solution for end user change inline style to class choose different tag name or add a key directive will fix the issue thank to linusborg for the latter it look like this pr have introduce this regression I ve open a pull request with a fail test that confirm this issue |
vuejsvue | input anything in an input manage via a compute property make it lose its focus when those input be generate by v for | null | use v2 0 6 I have two input year and month where when I enter a number in one input the other one get calculate automatically this work great by use one compute property js datum return dataobj month 24 compute year get let unroundedresult this dataobj month 12 return number unroundedresult tofixe 2 set newvalue this dataobj month math round newvalue 12 and the html html you can see that in action work correctly on this codepen however I encounter a problem when I generate those input via a v for loop in this case whenever I enter a number into the year or month input I lose focus and need to click back into the input to continue edit it cf this other codepen as this annoying behavior be not happen when I m not use a v for loop I tend to think this be a bug if I m wrong would you see why the focus be lose there note if I use the mouse wheel to change those input value note the mouse wheel event only work under chrome for some unknown reason everything work as intend also if I modify only the decimal part of the year so that the calculate value for the month do no change I do not lose focus note this question have first be ask on gitter then on the forum |
vuejsvue | use render function will be strange when n in slot template | Bug | vue js version 2 0 6 reproduction link step to reproduce what be actually happen the different in a b c d button be n between two dom node click a b c d button only d button will be normal other will duplice the text |
vuejsvue | use ssr with define dynamic component not render class at tag component | Bug | vue js version 2 0 2 step to reproduce 1 create component vue component testcomponent render h h div contain 2 use the component within the parent component template with classname what be expect expect to render on the server side contain similarly as the client side what be actually happen the server side be not render class in dynamically generate component contain at the same time the client side render everything with class contain this behavior cause a twitch of the interface due to the belate addition of class with style also incorrect display if the js file not to load on slow internet |
vuejsvue | vue render unexpected undefined when v if condition change | Bug | vue render the text node undefined as the first child of an element that appear through a changed v if condition same apply for v show if it replace an element that use v html vue js version 2 0 2 2 0 3 no other version test reproduction link step to reproduce in the jsfiddle click the text click I and you ll see the unexpected text undefine before delete use a template like this one html delete when comment status change from public to delete instead of only show the v else part of the template an unexpected undefined be render what be expect the node from the template html delete should be render what be actually happen the node equivalent to html undefined delete be render |
vuejsvue | destroy or beforedestroy send to wrong component | Bug | if there be some component inside |
vuejsvue | style on a custom component do not generate code use vue server renderer | Bug | vue js version 2 0 3 reproduction link step to reproduce 1 assume two custom component parent and child in parent s template use child with inline style 2 render in browser 3 render on server 4 compare what be expect inline style should work consistently for browser and server environment what be actually happen server do not render style attribute on child browser server as a workaround in the child template I ve add style to the root element and pass down a style as a prop e g it s not obvious from the doc if be valid code I suppose an argument could be make that only custom property define in child should be accept |
vuejsvue | model number modifier fail to cast select value of select element | Bug | vue js version 2 0 3 reproduction link step to reproduce change the select option an look at the output in element below what be expect select number type should be a number because element be bind to a variable model and have number modifier what be actually happen vue fail to cast the select value to number it remain a string workaround some people have suggest bind the value 10 but that s a workaround not a fix it s be great if the modifier work on too or at least there would be a notice in the documentation |
vuejsvue | strange behavior when use conditional operator in text x template | Bug | hello while work on a private project I come across an strange error so I simplify the code which will reproduce it anyways it make no sense to I the problem only exist when use |
vuejsvue | unable to watch nest datum | Bug | vue js version 2 0 2 reproduction link step to reproduce create a component with a nest data property object of an object contain an array set up watcher for this property specify the deep flag what be expect when the value of an array change the watcher run what be actually happen watcher isn t get trigger the code seem to work fine in vue 1 x not 100 nest object array be the correct way for manage a view with lot of input |
vuejsvue | in pug doesn t work | Bug | env macos 10 12 1 beta nodejs 6 8 1 vuejs 2 0 3 step to reproduce init a test vue project with default option bash vue init webpack test cd test edit src component hello vue then run dev server bash npm run dev what be actually happen get error dev user xiaoxiao test node build dev server js listen at webpack wait until bundle finish index html webpack build 65f1e5f2bb987f85bda4 in 2618ms hash 65f1e5f2bb987f85bda4 version webpack 1 13 2 time 2618ms asset size chunk chunk name app js 867 kb 0 app error in src component hello vue module build fail error error parse template 0 at parsehtml user xiaoxiao test node modules vue template compiler build js 3434 13 at object parsecomponent user xiaoxiao test node modules vue template compiler build js 5171 3 at module export user xiaoxiao test node modules vue loader lib parser js 15 21 at object module export user xiaoxiao test node modules vue loader lib loader js 145 15 babel loader vue loader lib selector js type script index 0 src app vue 7 13 42 child html webpack plugin for index html asset size chunk chunk name index html 1 46 mb 0 webpack bundle be now valid description similar issue however situation be not the same replace with win t trigger this error it s not a bug of pug as the error occur before pug be call in fact this error happen even if pug be not instal thank for your time to review this issue |
vuejsvue | vue2 0 3 v once doesn t work in list render | Bug | like this or this |
vuejsvue | vue 2 0 3 v model not update use an array | Bug | I m in process migrate an application from vue 1 x to 2 0 3 in this application I m have several select where each v model bind to an individual index of an array this be without problem in vue 1 x but in version 2 it do not update I believe this be a potential bug I have reproduce the problem here vue js version 2 0 3 reproduction link step to reproduce what be expect what be actually happen |
vuejsvue | mixin prop be not correctly mixed in when register globally | Bug | vue js version 2 0 2 reproduction link step to reproduce register a mixin with prop globally vue mixin prop myprop pass a prop value into any component what be expect myprop become a prop of hello vue and the value of my prop be foo what be actually happen the value of my prop be undefined note prop be correctly mixed in if register directly in the component use mixin prop myprop default value be pass correctly but will never change clone the provide git repository and run npm run dev to see the bug repo contain two component hello vue and hellowithlocalmixin vue that demonstrate the apparently buggy behavior also see app vue and main js |
vuejsvue | allow 2 root node with v if and v else | Bug | ver 2 0 3 mac chrome 53 v if v else v if v if v if v else test button in the code v else do not render it |
vuejsvue | strange dom behaviour | Bug | preface I ve read the doc and think I ve do the right thing I e proper one way flow pass datum in as prop and emit event properly when the content change but I might be do something really dumb please accept my apology if so it s really super not clear to I what s go wrong here vue js version 2 0 2 reproduction link visit step to reproduce swap block around use the up down arrow note how everything be fine add a new block and set its content e g 4 add a second new block notice that its content be a copy of the previous block but its datum be correctly blank move the top block down one notice it render correctly empty move it back up once again the datum look fine but the dom display the content from the previous block e g 4 set some content on the top block e g 5 then move it down the top two block display 5 but the datum be ok move the 2nd block back up and everything look fine what be expect see description above what be actually happen top block display a copy of the second block despite have correct datum |
vuejsvue | multiple select element change event problem | Bug | multiple select box do not work in same vue instance vue js version vue js v2 0 2 reproduction link step to reproduce change second select box value method testmethod will be call infinite time even it be not bond to second select box change first select box value and later change second select box value everything work as expect what be expect update of different model of select what be actually happen infinite call of not assign change method |
vuejsvue | nest v for bug | Bug | vue js version 2 0 1 2 0 2 reproduction link step to reproduce use a v for to render component in component you have to write a v for with template in it but not wrap with a root element open console and run test function what be expect open console and run success function what be actually happen throw the warning vue warn it seem there be duplicate key that be cause an update error make sure each v for item have a unique key and error uncaught in promise typeerror can not read property tag of undefined it s the same situation as however that one contain only two template with v if in nest v for and this one contain three template with v if and in my project I contain with more so I also want to know if there be more template in nest v for will it run good |
vuejsvue | entity encode problem of ssr ie9 | Bug | vue js version 2 0 1 reproduction link step to reproduce open in ie9 browser what be expect it basic render entity encode function do var renderer require vue server renderer createrenderer var vue require vue var app new vue template chinesedatamsg testentity datum function return chinesedatamsg testentity renderer rendertostre app function err html try html should equal script alert 1 script catch e do e return do what be actually happen some entity code can not be render by ie9 the page contain some entity code like newline build with vue period js newline |
vuejsvue | array directly inside array do not get watch | Bug | vue js version 2 0 1 reproduction link step to reproduce 1 press create text 2 press the button what be expect the text should have appear right when press create text instead you have to press what be actually happen on first instantiation of the vuejs app if you observer the initial datum you ll see that the inner array doesn t have any watcher assign to it there be the inner loop in the template that iterate that array so I d expect a watcher be create for that interestingly if any other vue method be trigger that be be watch by vue the view appear to refresh and the text that have be add to the inner array now appear apparently here be a long example of a commit where I fix the issue in my real world case I be use an empty array directly within an array and that empty array didn t have any watcher automatically set even though I be iterate it in the template by change the inner array to instead be an object with a property with that empty array I be able to get watcher to watch the empty array I think this be bug you shouldn t have to wrap your array in object if you don t want to I think edit update description accord to jsfiddle reproduction |
vuejsvue | lifecycle break with nest keep alive component | Bug | vue js version 2 0 1 reproduction link step to reproduce 1 open reproduction link 2 go to auth register 3 play with step button in console you ll see component be correctly activate deactivate 4 click on the login button you ll be redirect to home view and in console you ll see that auth login register component be properly destroy except component inside register component their destroy hook isn t call what be expect dynamic component inside nest component should be always properly destroy in my case after redirect from auth register to you should see follow log in the console auth component destroy login component destroy register component destroy destroy step x what be actually happen destroy hook in step component be never call which mean that component itself be never destroy |
vuejsvue | how can a functional component be use as a name slot of another component | Bug | vue js version 2 0 1 reproduction link step to reproduce just run the demo what be expect default slot fallback inner what be actually happen inner name slot fallback inner should replace the part of outer but instead it replace the part seem its slot attribute be not work it work fine if functional true be delete line 15 so be functional component not suppose to be a name slot of another component or be I use it wrong |
vuejsvue | chrome vue 2 multiple select 1st item unwantedly select when display | Bug | waste very much time to investigate this problem make new fresh install etc and result be that 1 safari vue 2 no problem 2 chrome vue 1 no problem 3 chrome vue 2 multiple select 1st item select when display but element do not show select tag but chrome debugger show that select true any idea please for screenshot I add simple multiple select thank |
vuejsvue | directive break when replace an item in array use splice | Bug | vue js version 2 0 1 reproduction link step to reproduce click remove next to 2 expect result the page should ve render without vue js throw an error more info I m work on a small app which have a two level hierarchy of item if an item contain subitem it be render as a group and the contain item be render recursively thus a group and an item result into different html be render and different directive in the element now if I replace a group with an item use splice the virtual dom doesn t notice that the html element change with its directive but try to update the item directive with group s |
vuejsvue | null | Bug | vue js version 2 0 1 reproduction link template tag should be able to use for group multiple element and inject into component slot this use to work in rc8 |
vuejsvue | bind with array perform incorrectly after splice | Bug | consider the follow code opt in each option value be bind with index if we perform splice on option like option splice 0 1 index do not correctly sync with option for example let option a b and the render html look like but not really a b after option splice 0 1 then option b but the render html become b the value of b option do not become 1 which should be 0 because of index this may not be a bug but this be kind of odd below be the live demo of this issue |
vuejsvue | bug vue2 0 0 rc 8 v if and slot | Bug | when open change more name be test slot to default |
vuejsvue | ios10 tap vue | Bug | vue 1 0 26 io 10 xxx xxx vue tap 1 css |
vuejsvue | 2 0 internet explorer select element display first option by default | Bug | similar to issue which be log for 1 x vue js version 2 0 rc reproduction link 0 step to reproduce open the above codepen in ie what be expect the visible select element should be empty have no option select what be actually happen the visible select element all have aaa select the underlying model be not in sync interestingly when you click the show button the select element display as expect |
vuejsvue | value bind with select option seem break | Bug | I m learn vue by work through the 2 0 guide and when I create in the vuejs org repo linusborg say the issue might actually be with vue js itself vue js version 2 0 0 rc 5 reproduction link my code be here the live demo of that code be here step to reproduce when I try to implement the 2 0 guide s example for form input binding value binding select option would provide a link but vuejs org seem to be down at the moment as below I get vm select undefined whenever I select any option also the first option 123 always appear check in the dropdown what be expect the option for 456 or 789 should be selectable and vm select should change to something like number 456 what be actually happen I m set vm select undefined as the initial value but that doesn t seem to change the behavior even if vm select null be the initial value select a select option change it to vm select undefined thank for vue so far it seem super useful and easy to use index html html 123 456 789 select type typeof select select number typeof select object select number n a main js javascript var vm new vue el example select datum select undefined |
vuejsvue | vue throw error miss require prop even if provide | Bug | vue js version 1 0 26 reproduction link 6 step to reproduce open reproduction link check console what be expect vue shouldn t warn about miss prop since it s provide via propsdata what be actually happen throw an error vue warn miss require prop vue warn invalid prop type check fail for prop expect string get undefine happen only in vue 1 x |
vuejsvue | 2 0 0 rc 6 break beforerouteenter hook | Bug | vue js version 2 0 0 rc6 vue router 2 0 0 rc4 reproduction link step to reproduce run what be expect should log typeof vm as object in console what be actually happen vm be undefined this issue be introduce in rc 6 fine in rc 5 |
vuejsvue | vue 2 0 issue with style as array and reactivity | Bug | first of all thank you for you work vue js be awesome sunglass but I have an issue with reactivity and style bind as array in vue 2 0 rc 5 I have use this syntax style object1 object2 in this case object2 use only one on init render when I change object2 prop actual style be not change even through I can see change in devtool so it s not reactive it be work on vue 1 x without such issue at all if it s not a bug but feature I don t think so please describe it in docs vue js version 2 0 0 rc 5 reproduction link first one with compute property second one simpli step to reproduce 1 create two object in datum object1 and object2 2 describe some style in object1 in object2 describe backgroundimage 3 create element with style object1 object2 4 change backgroundimage to another image of object2 on button click for example 5 see no change on the screen what be expect image should be change it work great in vue 1 x proof link what be actually happen image be be not change even through I see actual change in vue devtool |
vuejsvue | dom node replacement with v if overlap with the previous node | Bug | vue version 2 0 0 rc 4 repro when there be two sible component that toggle each other the second one that appear seem to have some property of the previous one |
vuejsvue | definereactive doesn t handle inherit property | Bug | the definereactive function use getownpropertydescriptor which work only for property declare on the object itself but not on its ancestor define a reactive property on an object function definereactive obj key val customsetter var dep new dep var property object getownpropertydescriptor obj key if property property configurable false return imho this should be define a reactive property on an object function definereactive obj key val customsetter get property descriptor own or inherit var property null for var proto obj property proto object prototype proto object getprototypeof proto property object getownpropertydescriptor proto key if property property configurable false return |
vuejsvue | v model lose bind when use with dynamically bind type radio on v model input type | Bug | vue js version 2 0 0 rc 1 |
vuejsvue | leave transition doesn t work if the element be show by default | Bug | vue js version 1 0 26 reproduction link step to reproduce 1 create a custom transition 2 add it to an element that have v show set to true by default 3 toggle the value of v show by toggle the correspond datum in the model of course what be expect it should animate what be actually happen the first leave be not animate it look like the v leave transitionname leave class be miss the first time |
vuejsvue | no support for carriage return | Bug | vue js version 2 0 0 rc 3 step to reproduce html what be expect message here what be actually happen message |
vuejsvue | function wiring break for component that show hide slot content use v if | Bug | vue js version 2 0 0 rc 3 reproduction link step to reproduce 1 click the link open popup use v if 2 a badly design popup open 3 click the close link 4 for this first time the popup close successfully 5 click the link open popup use v if again 6 the popup open again 7 click the close link what be expect again the popup close successfully what be actually happen vue fail to call an internal function that get miss the closepopupusingvif function attach to the close link s click event never get call the popup do not close for reference the codepen contain the exact same implementation of the popup with the only difference that it use v show instead of v if to show hide the popup v show work perfectly |
vuejsvue | v model with custom radio component replace onchange event | Bug | hello I m write a data drive custom component that render different input type from its datum this component support type like radio checkbox textarea etc all these type work fine with v model directive on the component except of the radio type I find why vue2 hook up the onchange event by add onchange function event myprop undefine the component look like this html and render something like this html in fact vue2 consider that my component be an input type radio but this component render internaly a radio button list the workaround I use be to change the type from radio to radio list but maybe vue should also check the tag name to be input in addition to the type radio attribute check |
vuejsvue | transition bug with keep alive | Bug | vue version 1 0 26 demo 1 use tag with keep alive 2 use transition with different class name 3 fast switch component vue can t remove the class name which be use last time and throw an error in the console vue js 1230 uncaught typeerror can not read property removechild of nullremove vue js 1230 anonymous function vue js 1074p 1 leavedone vue js 6674 anonymous function vue js 220onend pendingcsscb vue js 6800 thank |
vuejsvue | nest transition premature end | Bug | vue js version 2 0 0 rc3 reproduction link step to reproduce click on the transition break button real click as usually touchpad tap be not long enough to trigger the button active animation what be expect the div element inside the transition tag should be remove from the dom when the move transition end that be when it reach the right border of the page after the 3 second transition be do what be actually happen the div element inside the transition tag be be remove from the dom when the nest transition on button active end before it reach the right border of the page |
vuejsvue | reference lose on leave transition hook | Bug | vue js version 2 0 0 rc 2 vue router version 2 0 0 rc 3 reproduction link repro step to reproduce open the console click on nav check the log what be expect on enter transition hook the log to the reference page this ref page on leave transition hook the log to the reference page this ref page what be actually happen on enter the log be correct on leave this ref page be undefined |
vuejsvue | option name on component creation give warning and doesn t work | Bug | vue js version 2 0 0 rc 2 reproduction link js var custom vue component custom name custom console log new custom step to reproduce run fiddle and open console what be expect no warning and component show up with the name custom what be actually happen warn vue warn option name can only be use as a component definition option not during instance creation and component be name vuecomponent |
vuejsvue | 2 0 0 rc 2 v model do not update the value of v for iterate item | null | vue js version 2 0 0 rc 2 reproduction link step to reproduce input any character to text field what be expect the value in the list be not update what be actually happen the value in the list be update note on v1 0 26 it work as expect |
vuejsvue | v2 0 0 beta 3 beta 4 7 | Bug | v2 0 0 beta 3 dist vue min js beta 4 7 vue2 test ttt2345 |
vuejsvue | vue 2 0 name slot disappear | Bug | vue js version 2 0 0 beta 7 reproduction link step to reproduce focus the input what be expect the before slot should not disappear what be actually happen the before slot disappear if you switch to vue 1 x it work fine I use render function later and find that in the first render this slot before and this slot default all exist but when re render this slot before be undefined and all the slot come into this slot default |
vuejsvue | make v show respect display value in style attribute | Bug | address issue describe here issuecomment 237921731 |
vuejsvue | transition inside form crash in safari 9 1 1 | Bug | vue js version 2 0 0 beta 6 reproduction link step to reproduce in the jsbin above click in the toggle button what be expect an animation expand the input field what be actually happen the animation start and then the application crash ps if you remove the tag the animation work accordingly |
vuejsvue | merging of html class via class attribute and v bind break | Bug | vue js version 1 0 26 reproduction link step to reproduce as show in the jsfiddle the combination of a class attribute and the dynamic class lead to a merged class attribute however use v bind do not what be expect both way should merge correctly |
vuejsvue | reuse child in render function error | Bug | vue js version 2 0 0 beta 6 reproduction link step to reproduce click on the link and watch the console log what be expect to output click for each one what be actually happen only do so for the first menu for the second throw an uncaught typeerror o fn be not a function error |
vuejsvue | transition on component root doesn t work with v show | Bug | here s the repro |
vuejsvue | 2 0 0 beta4 static href attribute content be be escape become amp | Bug | vue js version 2 0 0 beta 4 reproduction link bug 2 0 0 beta 4 work 2 0 0 beta 3 step to reproduce run app click on the first link what be expect it take I to the google search result for vuejs what be actually happen ampersand in href attribute get escape therefore the link be break expect wrong originally report on the forum |
vuejsvue | dom mess up after toggle v if variable | Bug | please refer to this fiddle example let s say I have 3 div element first and third div have a v if directive to toggle their visibility base on the same boolean variable e g show in the fiddle example visible if true invisible if false it work correctly when I toggle the show to false first and third div become invisible but then when I toggle the show to true again the third div become visible but the first div change into a copy of the second div I have test it with v2 0 0 beta 3 and v1 0 26 the bug only appear in v2 0 0 beta 3 the bug appear only if 2 divs have v if directive bind to the same variable and there be one div between they which have no v if directive bind to the same variable sorry if my explanation be confuse it be kind of difficult to explain this bug that s why I create the fiddle example |
vuejsvue | v html html strip from inline string literal | Bug | here s a repro fiddle any html within inline string literal seem to be strip so that html will compile to html hello world instead of what I would expect html hello world |
vuejsvue | interpolation fail on inline string contain html | Bug | as demonstrate in this fiddle the follow be interpret literally html hello world instead I would expect it to produce html hello world this also occur with normal interpolation |
vuejsvue | source load twice when use mustache interpolation | null | vue js version 1 0 26 reproduction link step to reproduce 1 open the browser developer tool and switch to the network panel 2 filter the ajax request only keep the medium request what be expect mp3 file request should be load only twice once by directive v html once by mustache interpolation what be actually happen mp3 file request load thrice once by directive v html twice by mustache interpolation it should only load once like v html do |
vuejsvue | v pre doesn t work inside textarea | Bug | hello I have this example javascript work work no wokrs new vue el textarea new vue el example why second textarea show empty if you inspect it you can see this html no wokr |
vuejsvue | vue warn unknown custom element do | Bug | vue js version 2 0 beta 2 when I use html5 tag |
vuejsvue | absolutely position flexbox child component with transition be duplicate in dom when visibility be toggle via v if in firefox | Bug | vue 1 0 26 firefox 47 0 reproduction link info click the button to toggle the visibility of the component the entrance transition work but the leave transition doesn t cause the element to remain in the dom indefinitely click the button multiple time result in multiple component in the dom the follow thing must be present for the bug to occur it must be a component instance with visibility toggle via v if it must be a flexbox child it must be position absolutely it must have a transition vue config debug must be false |
vuejsvue | bad parsing when bound datum contain a backtick | Bug | vue js version 1 0 26 reproduction link 0 step to reproduce bind an inline object with a value contain the backtick character what be expect object be reproduce properly in the data model what be actually happen scope be be add to everything between the backtick and an escape quote we re use prop to curry an initial data model from the server to the browser we re do it in a manner similar to the example show in the codepen basically our root vue instance contain a list of prop that will show up on the element and be populate by the server |
vuejsvue | keep alive with the same component constructor | Bug | vue js version v2 0 0 beta 1 no keep alive use keep alive vue can not switch component of the same constructor with keep alive in vue 1 x always use initial value and ignore other but in vue 2 it s blank I hope it will work even with the same component constructor it s really useful thank |
vuejsvue | slot name flow all the way down the component tree | Bug | in this simple repro I would expect only parent component to know about the name slot which be what happen in 1 x instead the slot name be pass all the way down the component tree |
vuejsvue | render problem with v show transition and v model update | Bug | vue js version 2 0 0 beta 1 reproduction link step to reproduce write some e mail in the provide input provide at the fiddle what be expect an image should appear and stay bellow the input what be actually happen the image show for some apparently random time and then disappear |
vuejsvue | render problem with v if in vue 2 0 beta 1 | Bug | vue js version 2 0 0 beta 1 reproduction link step to reproduce give some dom element and a variable x create an element with a v if directive bind to the variable x and optionally a transition set toggle the variable a few time what be expect the dom element should be remove and attach several time to the parent if the transition be set it should be apply also what be actually happen the behaviour be erratic sometimes the element be render correctly but eventually the next sibling be attach instead also if a transition be set it isn t apply at all |
vuejsvue | directive function syntax throw an error | Bug | edit turn out this syntax be not deprecate it just need to be fix when use this deprecate directive syntax js vue directive my directive function value this function will be use as update the error throw be vue js 2168 vue warn error during component render find in root instance vue js 3479 uncaught typeerror bind must be call on a function these be pretty vague so wasn t sure if we want to throw a well warning similar to when user don t have a root element in their template for example maybe something like vue warn directive definition must be an object function definition be deprecate |
vuejsvue | v2 0 0 alpha 8 v if bug | Bug | vue js version v2 0 0 alpha 8 reproduction link step to reproduce 1 new vue 2 assign datum what be expect what be actually happen a tag with v if will also have style attribute |
vuejsvue | parse object as a filter argument fail with space inside | Bug | vue js version 1 0 26 reproduction link take a look at example you can see that when I try to pass object to the filter as an argument it doesn t work when there be some space in the string err isn t suppose to pr 834 fix this issue or be it forbid to use space when pass obejct to the filter like this |
vuejsvue | ref in loop be not in sync the sub component instance do not get update | Bug | vue js version 1 0 26 reproduction link step to reproduce check the above example what be expect the ref object should be update use the new sub component instance what be actually happen the ref object cache the old component instance and all the reference to the new dom element create get lose |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.