repository stringclasses 156 values | issue title stringlengths 1 1.01k ⌀ | labels stringclasses 8 values | body stringlengths 1 270k ⌀ |
|---|---|---|---|
vuejscore | event listener as dynamicprop be add erroneously to instance s prop | Bug | version 3 2 31 reproduction link sfc vuejs org eyjbchaudnvlijoiphrlbxbsyxrlplxuica8ugfyzw50q29tihytzm9ypvwiasbpbibbmv1ciia6a2v5pvwiavwiplxuicagidxdaglszel0zw0gqgnsawnrpvwibg9nkgkpxci yw55q29udgvuddwvq2hpbgrjdgvtplxuica8l1bhcmvudenvbt5cbjwvdgvtcgxhdgu xg5cbjxzy3jpchqgc2v0dxa xg5pbxbvcnqgugfyzw50q29tigzyb20gxciul1bhcmvudenvbs52dwvcijtcbmltcg9ydcbdaglszel0zw0gznjvbsbcii4vq2hpbgrjdgvtlnz1zvwio1xuicbcbmz1bmn0aw9uigxvzyhpksb7xg4gignvbnnvbguubg9nkgkpxg59xg48l3njcmlwdd5cbiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vdw5wa2cuy29tl0b2dwuvcnvudgltzs1kb21amy4yljmxl2rpc3qvcnvudgltzs1kb20uzxntlwjyb3dzzxiuanncilxuicb9xg59iiwiq2hpbgrjdgvtlnz1zsi6ijx0zw1wbgf0zt5cbiagpgj1dhrvbibay2xpy2s9xciozsk9pirlbwl0kcdjbgljaycszslciibzdhlszt1cindpzhroojmwmhb4xcigdi1iaw5kpvwijhbyb3bzxci y2xpy2sgbwugdgvzdo 8jgxvb2sgyxqgdghlignvbnnvbgu8l2j1dhrvbj5cbjwvdgvtcgxhdgu xg48c2nyaxb0plxuzxhwb3j0igrlzmf1bhqge1xuicbuyw1loianq2hpbgrjdgvtjyxcbiagaw5ozxjpdef0dhjzoibmywxzzsxcbiagchjvchm6iht9lfxuicblbwl0czogwydjbgljayddlfxufvxupc9zy3jpchq xg4ilcjqyxjlbnrdb20udnvlijoiphrlbxbsyxrlplxuica8zgl2plxuicagiht7ignoyw5nzsb9fvxuica8l2rpdj5cbiagpgrpdj5cbiagica8c2xvdd48l3nsb3q xg4gidwvzgl2plxupc90zw1wbgf0zt5cbjxzy3jpchq xg5lehbvcnqgzgvmyxvsdcb7xg4gig5hbwu6ifwiugfyzw50q29txcisxg4gigrhdgeoksb7xg4gicagcmv0dxjuihtcbiagicagignoyw5nztogxcjizwzvcmugdxbkyxrllgnsawnrihryawdnzxigb25jzvwixg4gicagfvxuicb9lfxuicbtb3vudgvkkckge1xuicagihnldfrpbwvvdxqokckgpt4ge1xuicagicagdghpcy5jagfuz2ugpsbcimfmdgvyihvwzgf0zsxjbgljayb0cmlnz2vyihr3awnlxci7xg4gicagfswgnjawmck7xg4gih1cblxufttcbjwvc2nyaxb0plxuin0 step to reproduce open the console click button what be expect click trigger once what be actually happen after update click trigger twice when event listener as dynamicprop on updateprop it be add to the instance s prop and it can be implicit bind to other component again by v bind prop it maybe trigger the callback function multiple time |
vuejscore | fix ensure element attribute name be always hyphenate fix 5477 | Bug | this pr ensure that we properly hyphenate camelcase attribute name before we add they to an element use el setattribute question call hyphenate on every attribute when they usually already be feel wasteful but I don t see any other way to have this behave consistently be we fine with that be there other approach close 5477 |
vuejscore | translate no in vue3 be not work | Bug | version 3 2 31 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg5cddxkaxygdhjhbnnsyxrlpvwibm9cij5cbiagicbizwxsbybwdwuuanncbiagpc9kaxy xg5cddxkaxygdhjhbnnsyxrlpvwiewvzxci xg4gicagsgvsbg8gvnvllmpzxg4gidwvzgl2plxupc90zw1wbgf0zt4ilcjpbxbvcnqtbwfwlmpzb24ioij7xg4gifwiaw1wb3j0c1wioib7xg4gicagxcj2dwvcijogxcjodhrwczovl3nmyy52dwvqcy5vcmcvdnvllnj1bnrpbwuuzxntlwjyb3dzzxiuanncilxuicb9xg59in0 step to reproduce 1 npm init vue late 2 write code like this hello vue js hello vue js what be expect expect something like this what be actually happen actually |
vuejscore | can not get ref value in v for in my project but work online playground | Bug | version 3 2 31 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlziwgb25nb3vudgvkih0gznjvbsandnvlj1xuxg5jb25zdcbsaxn0id0gcmvmkfsxlcaylcazxslcblxuy29uc3qgaxrlbvjlznmgpsbyzwyow10pxg5cbm9utw91bnrlzcgoksa9pib7xg4gigfszxj0kgl0zw1szwzzlnzhbhvllm1hcchpid0 igkudgv4denvbnrlbnqpkvxufslcbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidx1bd5cbiagica8bgkgdi1mb3i9xcjpdgvtigluigxpc3rciibyzwy9xcjpdgvtumvmc1wiplxuicagicage3sgaxrlbsb9fvxuicagidwvbgk xg4gidwvdww xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vc2zjlnz1zwpzlm9yzy92dwuucnvudgltzs5lc20tynjvd3nlci5qc1wixg4gih1cbn0ifq step to reproduce copy sfc playground code to my project console return version 3 2 31 ref proxy image what be expect need right ref value in v for what be actually happen can not get result |
vuejscore | v html render some random issue | Bug | version 3 2 31 reproduction link codesandbox io stackblitz com step to reproduce vue this be the base code now we can t see predefine content of show it but if I do some thing with lite code it just be show for example 1 add some non native attrs into the pre tag eg add attr name of a or modify datum type to the datum type 2 or remove last div tag 3 or remove some class attrs into the last div tag or span tag below code only add a english dot after predefine content show it and save a single vue file it will show vue look like this our team test some time bug can not find where be error spelling so commit this issue hope the official reply thank what be expect we hopy this code will show show it vue what be actually happen text show it sometimes will not show |
vuejscore | rename destructure prop fail in some case | Bug | version 3 2 31 reproduction link sfc playground eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbiagy29uc3qgeybcbiagicb2ywx1zxm6igzvcm1wywx1zxmsxg4gicagj29uvxbkyxrlonzhbhvlcyc6ihvwzgf0zuzvcm1wywx1zxmsxg4gxhr9id0gzgvmaw5luhjvchmoe1xuicagxhr2ywx1zxm6ie9iamvjdcxcbiagicanb25vcgrhdgu6dmfsdwvzjzogrnvuy3rpb24sxg4gih0pxg4gifxuicbmdw5jdglvbibyzxnldcgpihtcbiagicb1cgrhdgvgb3jtvmfsdwvzkhsgli4uzm9ybvzhbhvlcywgdmfsdwu6iccnih0pxg4gih1cbiagxg4gigz1bmn0aw9uiezvcm0oksb7fvxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpezvcm0gonzhbhvlcz1cimzvcm1wywx1zxnciibadxbkyxrlonzhbhvlcz1cinvwzgf0zuzvcm1wywx1zxncij5cbiagpc9gb3jtplxupc90zw1wbgf0zt4ilcjpbxbvcnqtbwfwlmpzb24ioij7xg4gifwiaw1wb3j0c1wioib7xg4gicagxcj2dwvcijogxcjodhrwczovl3vucgtnlmnvbs9adnvll3j1bnrpbwutzg9tqdmumi4yns9kaxn0l3j1bnrpbwutzg9tlmvzbs1icm93c2vylmpzxcjcbiagfvxufsj9 step to reproduce just look at the compile code in js tab what be expect js onupdate value prop onupdate value what be actually happen reference to the rename prop be not correct js onupdate value prop undefine |
vuejscore | vue apollo break on 3 2 31 be perfectly work on 3 2 30 | Bug | version 3 2 31 reproduction link I would be very happy to provide a reproduction link but it s a bit hard to demonstrate without a graphql api in addition the vue sfc playground don t allow to install a dependency or I don t find how to do it step to reproduce use option api do a graphql query with vue apollo what be expect retrieve datum what be actually happen console error the network request be even not send at all |
vuejscore | type definition can disappear if they be mention in a template | Bug | version 3 2 30 reproduction link stackblitz com step to reproduce define a custom type in another file testcase ts export type testcase number reference it in your component template as an array or as testcase app vue what be expect it be expect that the type be in the generate js file for testcase what be actually happen the type be omit only if you cast something as an array of testcase in the template this be a very bizarre bug where add a bit of code in the template change the javascript generate it doesn t work with yarn dev but work fine with yarn build |
vuejscore | hydration fail to retrieve hoist el in hmr | Bug | version 3 2 30 reproduction link stackblitz com step to reproduce npm run dev in stackblitz modify the template in app vue see rerender error in the client console what be expect no error and the hmr work what be actually happen error in console and hmr do not work this have originally report in nuxt after some investigation we manage to reproduce that in plain vite see the repro the error will disappear by change one of the follow condition switch to createapp instead of createssrapp to do a client render remove ssr generate content inside app I guess the root cause might be during the hydration the el of text nodes aren t retrieve correctly to the vnode casue the vnode el get null and hmr fail to update the dom |
vuejscore | fix runtime core custom element ensure event name be hyphenate fix 5373 | Bug | close 5373 |
vuejscore | fix runtime core custom element ensure number casting of camelcase prop fix 5374 | Bug | close 5374 |
vuejscore | prop type conversion fail on custom element with camelcase prop name | Bug | version 3 2 30 reproduction link stackblitz com step to reproduce click the button to increment the page number what be expect no type check warning should appear in the console what be actually happen vue warn invalid prop type check fail for prop pagenumber expect number with value 1 get string with value 1 I think the key chould be camelize before check numberprop here l269 l275 |
vuejscore | triggerref not update for shallowref when watch multiple value array argument | Bug | version 3 2 30 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihryawdnzxjszwysihjlziwgc2hhbgxvd1jlziwgd2f0y2ggfsbmcm9ticd2dwunxg5cbmnvbnn0ig1zzya9ihjlzignsgvsbg8gv29ybgqhjylcbmnvbnn0igfycia9ihnoywxsb3dszwyow10pxg53yxrjachhcnisicgppt4ge1xuicbjb25zb2xllmxvzygnd2f0y2ggyxjyidogyxjyignoyw5nzscpxg59kvxud2f0y2gow2fycl0sicgppt4ge1xuicbjb25zb2xllmxvzygnd2f0y2ggw2fycl0goibhcnigy2hhbmdllcbidxqgbm90ihryawdnzxigd2f0y2gnkvxufslcbiagc2v0vgltzw91dcgokt0 ihtcbiagicbhcniudmfsdwuuchvzacgxmjm0kvxuicagihryawdnzxjszwyoyxjykvxuicb9lcazmdawkvxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpggxpnt7ig1zzyb9ftwvade xg4giht7yxjyfx1cbiagpgluchv0ihytbw9kzww9xcjtc2dcij5cbjwvdgvtcgxhdgu iiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge1xuicagifwidnvlxci6ifwiahr0chm6ly9zzmmudnvlanmub3jnl3z1zs5ydw50aw1llmvzbs1icm93c2vylmpzxcjcbiagfvxufsj9 step to reproduce 1 watch shallowref by arr 2 triggerref what be expect trigger watch what be actually happen not trigger watch |
vuejscore | type not preserve with array ref since 3 2 30 | Bug | version 3 2 30 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1ccbsyw5npvwidhncij5cbmltcg9ydcb7ihjlzib9igzyb20gxcj2dwvcijtcbnr5cgugrhjvcgrvd25pchrpb24gpsb7ihzhbhvloibzdhjpbmc7ig5hbwu6ihn0cmluzyb9o1xuy29uc3qgbglzdca9ihjlzjxecm9wzg93bk9wdglvbltdpihbxsk7xg48l3njcmlwdd5cblxuphrlbxbsyxrlplxupc90zw1wbgf0zt4ilcjpbxbvcnqtbwfwlmpzb24ioij7xg4gifwiaw1wb3j0c1wioib7xg4gicagxcj2dwvcijogxcjodhrwczovl3nmyy52dwvqcy5vcmcvdnvllnj1bnrpbwuuzxntlwjyb3dzzxiuanncilxuicb9xg59in0 step to reproduce in the following block of typescript code look at the type of the list variable typescript import ref from vue type dropdownoption value string name string const list ref what be expect the return type of ref to be ref what be actually happen the return type of ref be currently ref value string name string |
vuejscore | detach node after unmount component memory leak | Bug | version 3 2 29 reproduction link github com step to reproduce first step run npm run build open dist index html vue3 1 highlight element with i d app write in console 0 vue app unmount after unmount app create heap snapshot we have memory leak in heap snapshot vue3 2 what be expect zero detach dom element and detached vue eventlistener what be actually happen exist in heap snapshot 2001 detach htmldivelement detach eventlistener |
vuejscore | ssr do not render a single line comment but do render a multiline one cause a hydration mismatch on the client | Bug | version 3 2 29 reproduction link step to reproduce 1 npm I to install dependency then npm run dev to run 2 in your browser go to 3 assume you be in chrome go to the network tab in devtool 4 look at the response for the document the app element should look like this html 5 note that the comment be miss 6 in your code editor go to src app vue 7 add a space in the comment like for example before test like so html 8 reload the browser note the hydration mismatch error in the console 9 check the document response again the app element should look like this html what be expect no hydration mismatch occur and either one of the two follow thing happen 1 the single line comment be render as well I m pretty sure this be what should happen 2 the multiline comment be not render what be actually happen the single line comment do not get render in the html the server send to the browser but the multiline comment do get render this result in a hydration mismatch on the client side when the comment be multiline |
vuejscore | maximum call stack size exceed when use v show on a component use transition as root element | Bug | version 3 2 29 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbiagly8gms4gq3jlyxrligegy29tcg9uzw50ichdb21wlnz1zskgdghhdcboyxncbiagly8gicagqskgysbgdhjhbnnpdglvbmagbm9kzsbhcybyb290xg4gic8vicagieipigegdi1pzibhdhryawj1dgugb24gdghlihjvb3qgbm9kzsb1bmrlcib0agugdhjhbnnpdglvblxuicavlyagicbdksbhbnkgchjvcfxuxg4gic8vidiuieltcg9ydcb0agugy29tcg9uzw50olxuicbpbxbvcnqgq29tccbmcm9tifwili9db21wlnz1zvwio1xuicbcbiagly8gmy4gqwrkienvbxagdg8gdghlihrlbxbsyxrlihdpdgggyvxuicavlyagicb2lxnob3cgyxr0cmlidxrlllxuicbcbiagly8gnc4gq3jlyxrlig90agvyihjlzib0agf0iglzihvwzgf0zwqgb2z0zw5cbiagly8gkfrozsbtb3jlig9mdgvuihrozsb1cgrhdgvzighhchblbixcbiagly8gdghlihf1awnrzxigdghligvycm9yihdpbgwgy29tzslcbiagaw1wb3j0ihsgcmvmih0gznjvbsandnvljztcbiagy29uc3qgbm93id0gcmvmkerhdguubm93kckpo1xuicbzzxrjbnrlcnzhbcgoksa9pib7xg4gicagbm93lnzhbhvlid0grgf0zs5ub3cokttcbiagfswgmsk7xg4gifxuicavlya1libbzgqgbm93ihrvihrozsb0zw1wbgf0zs5cbiagxg4gic8vidyuifdhaxquiel0ihrha2vzigegc2hvcnqgd2hpbguuxg4gic8vicagiflvdsb3awxsigjligzsb29kzwqgd2l0acbcbiagly8gicagxcjjywxsihn0ywnrigv4y2vlzgvkxcigzxjyb3jzllxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpcetlsazlibbzgqgdghlignvbxagd2l0acb2lxnob3cgls0 xg4gidxjb21wihytc2hvdz1cinrydwvciiavplxuicbcbiagpcetlsa1libbzgqgdghlihjlzib0agf0iglzihvwzgf0zwqgb2z0zw4uic0tplxuica8c3bhbj57eybub3cgfx08l3nwyw4 xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vdw5wa2cuy29tl0b2dwuvcnvudgltzs1kb21amy4ylji5l2rpc3qvcnvudgltzs1kb20uzxntlwjyb3dzzxiuanncilxuicb9xg59iiwiq29tcc52dwuioii8dgvtcgxhdgu xg4gidx0cmfuc2l0aw9uplxuicbcddxkaxygdi1pzj1cinrydwvcij50zxn0pc9kaxy xg4gidwvdhjhbnnpdglvbj5cbjwvdgvtcgxhdgu xg5cbjxzy3jpchq xg5lehbvcnqgzgvmyxvsdcb7xg4gihbyb3bzoib7xg4gicagdmlzawjsztoge1xuicagicagdhlwztogqm9vbgvhbixcbiagicagigrlzmf1bhq6ihrydwvcbiagicb9xg4gih1cbn07xg48l3njcmlwdd4ifq step to reproduce 1 open the repro 2 wait up to 3 minute what be expect the code should run indefinitely without warning what be actually happen after around three minute the console be flood with maximum call stack size exceed error and the browser slow down to a crawl this get bad the long the page be leave open I have refactore a lot of my code to use embed transition in component and forgot remove one place where I use v show instead of the new visible prop that crash my app after a while |
vuejscore | ssr hydration throw error when slot fragment contain a single whose element s v if evaluate to false | Bug | version 3 2 29 reproduction link step to reproduce 1 npm I to install dependency then npm run dev to run 2 in your browser go to note the error in the console what be expect hydration complete without error what be actually happen hydration throw an error see the more debugging info comment below for an explanation |
vuejscore | fix runtime dom properly handle custom style property with falsy value fix 5322 | Bug | style definition object that have an initially falsy value for a custom property would add that custom property with the stringifie falsy value vue note that this only affect initial value if the falsy value be add in an update the property be properly remove after this pr the custom property would not be add in the first place on mount html close 5322 |
vuejscore | select v model do not set option select attribute in render html use ssr | Bug | version 3 2 29 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcblxuy29uc3qgc2vszwn0zwqgpsbyzwyoj0inkvxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbibcddxzzwxly3qgdi1tb2rlbd1cinnlbgvjdgvkxci xg4gicagpg9wdglvbibkaxnhymxlzcb2ywx1zt1cilwiplbszwfzzsbzzwxly3qgb25lpc9vchrpb24 xg4gicagpg9wdglvbib2ywx1zt1cikfcij5bpc9vchrpb24 xg4gicagpg9wdglvbib2ywx1zt1cikjcij5cpc9vchrpb24 xg4gicagpg9wdglvbib2ywx1zt1cikncij5dpc9vchrpb24 xg4gidwvc2vszwn0plxupc90zw1wbgf0zt4ilcjpbxbvcnqtbwfwlmpzb24ioij7xg4gifwiaw1wb3j0c1wioib7xg4gicagxcj2dwvcijogxcjodhrwczovl3vucgtnlmnvbs9adnvll3j1bnrpbwutzg9tqdmumi4yos9kaxn0l3j1bnrpbwutzg9tlmvzbs1icm93c2vylmpzxcjcbiagfvxufsj9 step to reproduce create a template with and some element and then look at the render html there will never be a select attribute on the option element when load the ssr render page with disabled javascript it will always select the first option because no option in the html be actually select what be expect similar behavior to for input element this will insert a value attribute though should insert a select attribute for the select option element or element s when use what be actually happen no select attribute be add to the ssr render html a workaround be to set select manually please select one a b c |
vuejscore | when a custom component be use as the root attr can override explicitly set prop | null | version 3 2 29 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcbdb21wigzyb20gjy4vq29tcc52dwunxg4gigltcg9ydcbdb21wqsbmcm9ticcul0nvbxbblnz1zsdcbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxkaxy xg4gicagq29tcca6xg4gicagpenvbxagyt1cijfciibuyw1lpvwiyvwipjwvq29tcd5cbiagicbdb21wqsa6xg4gicagidxdb21wqsbhpvwimvwiig5hbwu9xcjhxci pc9db21wqt5cbiagpc9kaxy xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vdw5wa2cuy29tl0b2dwuvcnvudgltzs1kb21amy4ylji5l2rpc3qvcnvudgltzs1kb20uzxntlwjyb3dzzxiuanncilxuicb9xg59iiwiq29tcc52dwuioii8c2nyaxb0ihnldhvwplxuaw1wb3j0ienvbxbdaglszcbmcm9ticcul0nvbxbdaglszc52dwunxg48l3njcmlwdd5cblxuphrlbxbsyxrlplxuicagidxdb21wq2hpbgq pc9db21wq2hpbgq xg48l3rlbxbsyxrlpiisiknvbxbdaglszc52dwuioii8c2nyaxb0ihnldhvwplxuy29uc3qgchjvchm9zgvmaw5luhjvchmoe25hbwu6u3ryaw5nfslcbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxkaxy xg4gicbdb21wq2hpbgqtchjvchm6iht7jhbyb3bzfx1cbiagidxicj5cbiagienvbxbdaglszc1hdhjyczoge3skyxr0cnn9fvxuica8l2rpdj5cbjwvdgvtcgxhdgu iiwiq29tceeudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcbdb21wq2hpbgqgznjvbsanli9db21wq2hpbgqudnvlj1xupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpgrpdj5cbiagica8q29tcenoawxkpjwvq29tcenoawxkplxuica8l2rpdj5cbjwvdgvtcgxhdgu in0 step to reproduce the above demo can show what be expect 1 attr should not be automatically pass from parent component to child component 2 under the above premise if attr and prop have the same name attr should not overwrite prop 3 when a custom component be use as a root it should behave as if it be wrap in a div what be actually happen 1 attr a on comp be automatically pass to compchild but not on compa 2 attr name in comp be pass to prop name of compchild |
vuejscore | fix runtime core ensure customelement have set domprop listener synchronously if possible | Bug | problem definecustomelement reflect all prop as element property but it do so only after the element have connect when vue set prop on element it prefer to add they via element property if if can find a match property on the element but since definecustomelement set these property getter setter only after the element have connect they don t exist when vue be look for they during mount this mean that we can t do this html because it will end up as an attribute contain object object we have to do use the prop modifier html but not all web framework support such a feature solution this pr be a refactoring that ensure that the element property getter setter be set synchronously in the constructor in order to solve this problem limitation this solution doesn t work for async cusotm element as we can only resolve the prop after the component definition have be load asynchronously close 2343 |
vuejscore | custom element add attribute without prop | Bug | version 3 2 29 reproduction link stackblitz com step to reproduce html ts main ts import definecustomelement from vue import mycustomelement from mycustomelement vue customelement define my custom element definecustomelement mycustomelement vue what be expect the component should mount the extra class attribute should not be use by the component as no prop be declare what be actually happen custom element doesn t load uncaught typeerror can not read property of undefined reading class at resolve2 runtime dom esm bundler js 544 33 at vuecustomelement resolvedef runtime dom esm bundler js 579 13 at vuecustomelement connectedcallback runtime dom esm bundler js 506 18 at main ts 4 16 note when add a prop check here l224 it work as expect |
vuejscore | undefined and false in css variable in inline style be not remove | Bug | version 3 2 29 reproduction link sfc vuejs org eyjbchaudnvlijoiphrlbxbsyxrlplxuica8adegonn0ewxlpvwieyctlwnvbg9yjzogdw5kzwzpbmvkfvwipnvuzgvmaw5lzdwvade xg4gidxomsa6c3r5bgu9xcj7jy0ty29sb3inoibmywxzzx1cij5mywxzztwvade xg4gidxomsa6c3r5bgu9xcj7jy0ty29sb3inoibudwxsfvwipm51bgw8l2gxplxupc90zw1wbgf0zt5cblxuphn0ewxlplxuicbomsb7xg4gicagls1jb2xvcjogz3jlzw47xg4gicagy29sb3i6ihzhcigtlwnvbg9ykttcbiagfvxupc9zdhlszt4ilcjpbxbvcnqtbwfwlmpzb24ioij7xg4gifwiaw1wb3j0c1wioib7xg4gicagxcj2dwvcijogxcjodhrwczovl3nmyy52dwvqcy5vcmcvdnvllnj1bnrpbwuuzxntlwjyb3dzzxiuanncilxuicb9xg59in0 step to reproduce use style var undefine or style var false in a template it s render as style var undefine or style var false which seem incorrect var should be remove instead use null work correctly and var be remove what be expect inline css variable should be remove what be actually happen it s actually be render as undefined |
vuejscore | multi root component with miss element | Bug | version 3 2 27 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcbmltcg9ydcbuzw1wmsbmcm9ticcul1rlbxaxlnz1zsdcbmltcg9ydcbuzw1wmibmcm9ticcul1rlbxaylnz1zsdcblxuy29uc3qgc2vszwn0zwqgpsbyzwyomclcbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxidxr0b24gqgnsawnrpvwic2vszwn0zwqgpsaoc2vszwn0zwqrmsklmlwiplrvz2dsztwvynv0dg9uplxuica8vgvtcdegdi1pzj1cinnlbgvjdgvkpt09mfwipjwvvgvtcde xg4gidxuzw1wmib2lwlmpvwic2vszwn0zwq9pt0xxcigomhpzgrlbj1cimzhbhnlxci pc9uzw1wmj5cbjwvdgvtcgxhdgu iiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge1xuicagifwidnvlxci6ifwiahr0chm6ly91bnbrzy5jb20vqhz1zs9ydw50aw1llwrvbuazljiumjgvzglzdc9ydw50aw1llwrvbs5lc20tynjvd3nlci5qc1wixg4gih1cbn0ilcjuzw1wms52dwuioii8c2nyaxb0ihnldhvwplxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpggxplxuicagifrlbxaxxg4gidwvade xg4gidxkaxy mtwvzgl2plxuica8zgl2pji8l2rpdj5cbiagpgrpdj4zpc9kaxy xg4gidxkaxy ndwvzgl2plxuica8zgl2pju8l2rpdj5cbiagpgrpdj42pc9kaxy xg4gidxkaxy nzwvzgl2plxuica8zgl2pjg8l2rpdj5cbiagpgrpdj45pc9kaxy xg48l3rlbxbsyxrlpiisilrlbxaylnz1zsi6ijxzy3jpchqgc2v0dxa xg4gignvbnn0ihbyb3bzid0gzgvmaw5luhjvchmoe1xuicboawrkzw46iejvb2xlyw4sxg59kvxupc9zy3jpchq xg5cbjx0zw1wbgf0zt48ade xg4gicagvgvtcdjcbiagpc9omt5cbiagpgrpdj4xpc9kaxy xg4gidxkaxygdi1pzj1cimhpzgrlblwipji8l2rpdj5cbiagpgrpdj4zpc9kaxy xg4gidxkaxy ndwvzgl2plxuica8zgl2ihytawy9xcjoawrkzw5cij41pc9kaxy xg4gidxkaxygdi1pzj1cimhpzgrlblwipjy8l2rpdj5cbiagpgrpdj43pc9kaxy xg4gidxkaxy odwvzgl2plxuica8zgl2pjk8l2rpdj5cbjwvdgvtcgxhdgu in0 step to reproduce use the toggle button sfc playground to toggle between the view of temp1 and temp2 component it have to be use multiple time as the bug show only after temp1 be show again what be expect temp1 should always show the number from 1 to 9 even after toggle multiple time what be actually happen after toggele to temp1 after be on temp2 all the element of the component except the first one h1 element be not show work find in v3 2 26 break in v3 2 27 and new I m not sure if this be relate to v if but that s how I discover it |
vuejscore | typeerror set on proxy trap return falsish for property | Bug | version 3 2 28 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlziwgy29tchv0zwqgfsbmcm9ticd2dwunxg5cbmnvbnn0ihj1bgvzid0gy29tchv0zwqokckgpt4gkhtcbiagzgvzawduywnhbzoge1xuicagic8vihjlcxvpcmvklfxuicagicrhdxrvrglydhk6ihrydwusxg4gih0sxg59kslcbiagxg4gy29uc3qgzm5uzxn0aw5nid0gkhzhbcwgcmvjksa9pib7xg5cdhjldhvybibjb21wdxrlzcgoksa9pib7xg4gicagxhryzxr1cm4geyagicagxg4gicagifx0xhrpzca6ihzhbcxcbiagicagxhrcdhjly29yzdogcmvjxg4gicbcdfx0fvxuicb9kvxufvxuxg5jb25zdcb0c3qgpsbyzwyoe1xuicb0zxn0ztoge1xuicagicr2idogzm5uzxn0aw5nkhj1bgvzlcb7fslcbiagfsxcbn0pxg5cbmnvbnn0ignoyw5nzvrzdca9icgpid0 ihtcbiagdhn0lnzhbhvllnrlc3rllir2id0gzm5uzxn0aw5nkhj1bgvzlcb7ig5hbwugoiana2pramsnfslcbn1cblxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cblx0pgrpdj57eyb0c3qgfx08l2rpdj5cbiagpgjyplxuica8ynv0dg9uiebjbgljaz1cimnoyw5nzvrzdfwiplxuicagignoyw5nzvrzdfxuica8l2j1dhrvbj5cbjwvdgvtcgxhdgu iiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge1xuicagifwidnvlxci6ifwiahr0chm6ly9zzmmudnvlanmub3jnl3z1zs5ydw50aw1llmvzbs1icm93c2vylmpzxcjcbiagfvxufsj9 step to reproduce when change value give an error what be expect work what be actually happen give an error in version 3 2 27 work just fine |
vuejscore | getssrprop do not work when use template | Bug | version 3 2 28 reproduction link github com demivan ssr issue step to reproduce 1 checkout 2 pnpm I 3 pnpm test check the fail test what be expect when getssrprop be implement on a directive it should be use by server renderer what be actually happen getssrprop be not execute and attribute not be add this work when use render function |
vuejscore | error when use calc and css v bind | Bug | version 3 2 28 reproduction link sfc vuejs org eyjbchaudnvlijoiphrlbxbsyxrlplxuica8zgl2ihn0ewxlpvwiymfja2dyb3vuzdogewvsbg93xci rm9vpc9kaxy xg48l3rlbxbsyxrlplxuxg48c2nyaxb0ihnldhvwplxuicbszxqgysa9iccxmdbwecdcbjwvc2nyaxb0plxuphn0ewxlplxuicbkaxyge1xuicagihdpzhrooibjywxjkhytymluzchhksatidnweck7xg4gih1cbjwvc3r5bgu xg4ilcjpbxbvcnqtbwfwlmpzb24ioij7xg4gifwiaw1wb3j0c1wioib7xg4gicagxcj2dwvcijogxcjodhrwczovl3vucgtnlmnvbs9adnvll3j1bnrpbwutzg9tqdmumi4yoc9kaxn0l3j1bnrpbwutzg9tlmvzbs1icm93c2vylmpzxcjcbiagfvxufsj9 step to reproduce open the link to sfc playground what be expect I expect the div element to be display I also expect the follow css v bind to be available css div width calc v bind a 3px what be actually happen syntaxerror syntaxerror error parse javascript expression identifier directly after number 2 30 at vt at tn at dt at module t6 as compilescript at cp at m0 it work when we change the version to v3 2 27 on playground or if we change the css to the follow it will work css div width calc v bind a 3px |
vuejscore | compute value not update in ssr | Bug | version 3 2 27 reproduction link github com step to reproduce sh yarn node index js what be expect compute value be update and html render with correct message sh hello world what be actually happen compute value be not update and an empty div be render sh I m not sure if this a bug or be it I misusing compute in ssr context but such an app architecture as in my reproduction demo seem to I completely valid and should work there be a computed value in a component which be base on part of app s state no value serve as indication of the need to fetch datum normally this should happen either during ssr or on the client if the state or its part be not hydrated async setup function allow to wait for datum to be fetch which should trigger an update of state and compute value this acually work in 3 2 26 new behavior be possibly introduce in commit f4f0966 |
vuejscore | reactivity transform fail to transform ref when use on an export | Bug | version 3 2 27 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcbmltcg9ydcb7ihrlc3qgfsbmcm9ticcul1rlc3qudhmnxg5jb25zdcbtc2cgpsbyzwyoj0hlbgxvifdvcmxkiscpxg48l3njcmlwdd5cblxuphrlbxbsyxrlplxuica8ade e3sgbxnnih19pc9omt5cbiagpgluchv0ihytbw9kzww9xcjtc2dcij5cbiagvgvzddoge3sgdgvzdcb9fvxupc90zw1wbgf0zt4ilcjpbxbvcnqtbwfwlmpzb24ioij7xg4gifwiaw1wb3j0c1wioib7xg4gicagxcj2dwvcijogxcjodhrwczovl3nmyy52dwvqcy5vcmcvdnvllnj1bnrpbwuuzxntlwjyb3dzzxiuanncilxuicb9xg59iiwivgvzdc50cyi6imv4cg9ydcbszxqgdgvzdca9icryzwyodhj1zslcbiagicagicagicagicagicagicagicagicbcbi8vifroaxmgd29ya3m6xg4vl2xldcbfdgvzdca9icryzwyodhj1zslcbi8vzxhwb3j0igxldcb0zxn0id0gjcqox3rlc3qpin0 step to reproduce check out the playground it fail with ref be not define the test ts file in the playground have instruction for a workaround demonstrate the transform only fail when use on an export what be expect ref be be transform and app vue succeed in import and use the export what be actually happen ref be leave in the code untransforme lead to a referenceerror at runtime find by a user and report here originally discussioncomment 2009933 |
vuejscore | mergeprop do not merge correctly event listener | Bug | version 3 2 27 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbiagaw1wb3j0ieluchv0igzyb20gjy4vsw5wdxqudnvlj1xuxg4gigz1bmn0aw9uig9us2v5zg93bigpihtcbiagicbjb25zb2xllmxvzygnw3bhcmvudf0gb25lzxlkb3dujylcbiagfvxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpeluchv0iebrzxlkb3dupvwib25lzxlkb3duxciglz5cbjwvdgvtcgxhdgu iiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge1xuicagifwidnvlxci6ifwiahr0chm6ly9zzmmudnvlanmub3jnl3z1zs5ydw50aw1llmvzbs1icm93c2vylmpzxcjcbiagfvxufsisikluchv0lnz1zsi6ijxzy3jpchq xg5cdgv4cg9ydcbkzwzhdwx0ihsgaw5ozxjpdef0dhjzoibmywxzzsb9xg48l3njcmlwdd5cblxuphnjcmlwdcbzzxr1cd5cbiagaw1wb3j0ihsgbwvyz2vqcm9wcywgdxnlqxr0cnmgfsbmcm9ticd2dwunxg4gifxuicbjb25zdcbhdhrycya9ihvzzuf0dhjzkclcbiagxg4gigz1bmn0aw9uig9us2v5zg93bigpihtcbiagicbjb25zb2xllmxvzygnw2luchv0xsbvbktlewrvd24nkvxuicb9xg5cbiagznvuy3rpb24gz2v0uhjvchmoksb7xg5cdfx0y29uc3qgchjvchmgpsbtzxjnzvbyb3bzkgf0dhjzlcb7xg4gicagicbvbktlewrvd246igzhbhnlid8gb25lzxlkb3duidogdw5kzwzpbmvklfxuicagicagdhlwztogj3rlehqnlfxuicagih0pxg4gicagy29uc29szs5sb2cochjvchmpxg4gicagcmv0dxjuihbyb3bzo1xuicb9xg48l3njcmlwdd5cblxuphrlbxbsyxrlplxuica8aw5wdxqgdi1iaw5kpvwiz2v0uhjvchmokvwiplxupc90zw1wbgf0zt4ifq step to reproduce open the console to see what s go on type anything into the input field what be expect event listener to be merge correctly what be actually happen vue throw typeerror fn be not a function this happen because when we try to merge two object with the same event listener but one of the object contain an event with an undefined value then the result will be an array with an undefined value js const result mergeprop onkeydown onkeydown undefined result onkeydown fn undefined |
vuejscore | directive not work with svg | Bug | version 3 2 27 reproduction link jsfiddle net rvocfqwn 22 step to reproduce you must use an svg image and use a custom directive like in the fiddle you can see that if the directive be on another element it work while on svg s will return an error what be expect should work fine and log the element what be actually happen return an error |
vuejscore | ref in v memo on loop template tag be miss ctx in transpile code | Bug | version 3 2 27 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdd5cbmltcg9ydcb7ihjlziwgzgvmaw5lq29tcg9uzw50ih0gznjvbsandnvlj1xuzxhwb3j0igrlzmf1bhqgzgvmaw5lq29tcg9uzw50khtcbiagc2v0dxaoksb7xg4gicagy29uc3qgc29tzvzhbca9ihjlzigwkvxuicagignvbnn0igxpc3qgpsbbmswyldndxg4gicagcmv0dxjuihtzb21lvmfslcbsaxn0fvxuicb9xg59kvxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagphrlbxbsyxrlihytzm9ypvwibcbvzibsaxn0xcigomtlet1cimxciib2lw1lbw89xcjbc29tzvzhbf1cij5cbiagica8zgl2plxuicagicage3sgbcb9fvxuicagidwvzgl2plxuica8l3rlbxbsyxrlplxupc90zw1wbgf0zt4ilcjpbxbvcnqtbwfwlmpzb24ioij7xg4gifwiaw1wb3j0c1wioib7xg4gicagxcj2dwvcijogxcjodhrwczovl3nmyy52dwvqcy5vcmcvdnvllnj1bnrpbwuuzxntlwjyb3dzzxiuanncilxuicb9xg59in0 step to reproduce put a v memo on a template that have a for loop be discourage by the linter but totally possible and extremely useful in my case however this code vue transpile to this js function render ctx cache prop setup datum option return openblock true createelementblock fragment null renderlist ctx list l cache const memo someval if cache cache key l ismemosame cache memo return cache const item openblock createelementblock div key l todisplaystre l 1 text item memo memo return item cache 0 128 key fragment as you can see the value in memo be miss the ctx what be expect a ctx for all memo value what be actually happen no ctx funny enough a workaround for this be to manually put a ctx in front of the value in the template however this only work as long as the internal of the template transpiler stay the same |
vuejscore | feat runtime dom support attrs in custom element | Bug | fix 5280 |
vuejscore | leave effect be break because of an | Bug | version 3 2 26 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcbmltcg9ydcbdb21wigzyb20gjy4vq29tcc52dwunxg5cbmnvbnn0ihnob3cgpsbyzwyodhj1zslcbnnldeludgvydmfskcgpid0 ihtcbiagc2hvdy52ywx1zsa9icfzag93lnzhbhvlxg59lcaxmdawkvxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpfryyw5zaxrpb24 xg4gicagpenvbxagdi1pzj1cinnob3dcij4gicagicbcbiagicagidxwpmhlbgxvpc9wplxuicagidwvq29tcd5cbiagpc9ucmfuc2l0aw9uplxupc90zw1wbgf0zt5cblxuphn0ewxlplxulnytzw50zxitywn0axzllfxulnytbgvhdmutywn0axzlihtcbiagdhjhbnnpdglvbjogb3bhy2l0esawljvzigvhc2u7xg59xg5cbi52lwvudgvylwzyb20sxg4udi1szwf2zs10byb7xg4gig9wywnpdhk6ida7xg59xg48l3n0ewxlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vc2zjlnz1zwpzlm9yzy92dwuucnvudgltzs5lc20tynjvd3nlci5qc1wixg4gih1cbn0ilcjdb21wlnz1zsi6ijxzy3jpchqgc2v0dxa xg5cbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidwhls0gqnjva2vuisatlt5cblx0pgrpdj5cbiagphnsb3qglz5cbiagpc9kaxy xg48l3rlbxbsyxrlplxuin0 step to reproduce open the repro link and see the hello text appear and disappear once per second but the v leave to effect be ignore the comp vue have a comment that can be remove to fix the issue what be expect the text should fade in and out smoothly even with a root html comment what be actually happen the fade out effect be cancel and the text disappear abruptly I guess that the compiler consider the comment as another standard element which the doesn t support |
vuejscore | keepalive include remove deactive component should remove the component from keep alive storagecontainer | Bug | version 3 2 26 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlziwgbmv4dfrpy2sgfsbmcm9tifwidnvlxci7xg5pbxbvcnqgq29tcdegznjvbsbcii4vq29tcdeudnvlxci7xg5pbxbvcnqgq29tcdigznjvbsbcii4vq29tcdiudnvlxci7xg5cbmxldcbzag93q29tcdegpsbyzwyodhj1zsk7xg5szxqgaw5jbhvkzsa9ihjlzihbxcjdb21wmvwilcbciknvbxayxcjdkttcblxuznvuy3rpb24gy2hhbmdlu2hvdygpihtcbiagc2hvd0nvbxaxlnzhbhvlid0gzmfsc2u7xg59xg5mdw5jdglvbibjagfuz2vjbmnsdwrlkckge1xuicbpbmnsdwrllnzhbhvlid0gw1wiq29tcdjcil07xg4gig5lehruawnrkcgpid0 ihtcbiagicbhbgvydchrzwvwqwxpdmvdywnozurpdi5jaglszevszw1lbnrdb3vudclcbiagfsk7xg59xg48l3njcmlwdd5cblxuphrlbxbsyxrlplxuica8ynv0dg9uiebjbgljaz1cimnoyw5nzvnob3dcij5zag93ignvbxagmjwvynv0dg9uplxuica8ynv0dg9uiebjbgljaz1cimnoyw5nzuluy2x1zgvcij5yzw1vdmuga2vlcc1hbgl2zsbjb21wmtwvynv0dg9uplxuica8a2vlcc1hbgl2zsa6aw5jbhvkzt1cimluy2x1zgvcij5cbiagica8q29tcdegdi1pzj1cinnob3ddb21wmvwiic8 xg4gicagpenvbxayihytzwxzzsavplxuica8l2tlzxatywxpdmu xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vc2zjlnz1zwpzlm9yzy92dwuucnvudgltzs5lc20tynjvd3nlci5qc1wixg4gih1cbn0ilcjdb21wmi52dwuioii8c2nyaxb0id5cbmv4cg9ydcbkzwzhdwx0ihtcbiagbmftztogxcjdb21wmlwixg59o1xupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpggxpknvbxaypc9omt5cbjwvdgvtcgxhdgu iiwiq29tcdeudnvlijoiphnjcmlwdca xg5pbxbvcnqgeybuzxh0vgljayb9igzyb20gxcj2dwvcijtcbmv4cg9ydcbkzwzhdwx0ihtcbiagbmftztogxcjdb21wmvwilfxuicbtb3vudgvkkckge1xuicagig5lehruawnrkcgpid0 iht9kttcbiagfsxcbiagzgvhy3rpdmf0zwqoksb7xg4gicagd2luzg93lmtlzxbbbgl2zunhy2hlrgl2id0gdghpcy4kzwwucgfyzw50rwxlbwvuddtcbiagfsxcbn07xg48l3njcmlwdd5cblxuphrlbxbsyxrlplxuica8ade q29tcde8l2gxplxupc90zw1wbgf0zt4ifq step to reproduce 1 click show comp2 button to show comp2 2 click remove keep alive comp1 button to remove comp1 from keep alive include 3 keepalive s storagecontainer still have comp1 element 1 show comp2 comp2 2 remove keep alive comp1 keep alive include comp1 3 keepalive storagecontainer comp1 element what be expect storage container remove comp1 element what be actually happen storage container still have comp1 element deactivate keepalive include keepalive storagecontainer element when a component be deactivate delete it from the keepalive include too but the keepalive storagecontainer still contain a element of the component which cause memory leak |
vuejscore | keepalive | Invalid | version 3 2 26 reproduction link codesandbox io step to reproduce keep alive name route name include vue element admin page router view page name push include activate activate create create bug what be expect what be actually happen |
vuejscore | animation iteration count have no effect | Bug | version 3 2 26 reproduction link sfc vuejs org eyjbchaudnvlijoiphrlbxbsyxrlplxuica8ynv0dg9uiebjbgljaz1cinnob3cgpsahc2hvd1wipnrvz2dsztwvynv0dg9uplxuica8dhjhbnnpdglvbibuyw1lpvwidgl0bgvcij5cbiagica8adigdi1pzj1cinnob3dciibayw5pbwf0aw9uzw5kpvwizw5kxci dgvzddwvadi xg4gidwvdhjhbnnpdglvbj5cbjwvdgvtcgxhdgu xg48c2nyaxb0plxuzxhwb3j0igrlzmf1bhqge1xuicbkyxrhkckge1xuicagihjldhvybib7xg4gicagicbzag93oib0cnvllfxuicagih07xg4gih0sxg4gig1ldghvzhm6ihtcbiagicblbmqoksb7xg4gicagicbjb25zb2xllmxvzyhcimvuzfwikttcbiagicb9lfxuicb9lfxufttcbjwvc2nyaxb0plxuphn0ewxlplxuxg4udgl0bgutzw50zxitywn0axzlihtcbiagyw5pbwf0aw9ulw5hbwu6igjvdw5jzs1pbjtcbiagyw5pbwf0aw9ulwr1cmf0aw9uoiazcztcbiagyw5pbwf0aw9ulwl0zxjhdglvbi1jb3vuddogmztcbn1cbi50axrszs1szwf2zs1hy3rpdmuge1xuicbhbmltyxrpb24tbmftztogym91bmnllwluo1xuicbhbmltyxrpb24tzhvyyxrpb246idnzo1xuicbhbmltyxrpb24tzglyzwn0aw9uoibyzxzlcnnlo1xuicbhbmltyxrpb24taxrlcmf0aw9ulwnvdw50oiazo1xufvxuxg5aa2v5znjhbwvzigjvdw5jzs1pbib7xg4gigzyb20ge1xuicagihryyw5zzm9ybtogc2nhbguomck7xg4gih1cblxuica1mcuge1xuicagihryyw5zzm9ybtogc2nhbguoms4ynsk7xg4gih1cblxuicb0byb7xg4gicagdhjhbnnmb3jtoibzy2fszsgxkttcbiagfvxufvxuxg48l3n0ewxlplxuiiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge1xuicagifwidnvlxci6ifwiahr0chm6ly9zzmmudnvlanmub3jnl3z1zs5ydw50aw1llmvzbs1icm93c2vylmpzxcjcbiagfvxufsj9 step to reproduce use animation iteration count in style to make the animation run multiple time what be expect the animation should run multiple time what be actually happen the animation only run once the animationend event be never trigger |
vuejscore | in a special case the attribute binding will fail | Bug | version 3 2 26 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcblxuy29uc3qgdgv4dca9ihjlzignmycpxg5cbmz1bmn0aw9uig9usw5wdxqozxzlbnqpihtcbiagdgv4dc52ywx1zsa9igv2zw50lmrhdgfcbn1cbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxpbnb1dca6dmfsdwu9xcj0zxh0xcigqgluchv0pvwib25jbnb1dfwiid5cbjwvdgvtcgxhdgu iiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge1xuicagifwidnvlxci6ifwiahr0chm6ly9zzmmudnvlanmub3jnl3z1zs5ydw50aw1llmvzbs1icm93c2vylmpzxcjcbiagfvxufsj9 step to reproduce as a comparison enter the follow two set of character in the input box 1 enter 1 2 3 4 in order they be completely different character 2 enter a a a a in order they be completely same character what be expect in the second case there should always be a single a in the input box what be actually happen in the second case vue do not do anything the input box behave just like its default behavior here be my speculation normally the value of the input box be the same as the text therefore for efficiency when the value assign to text be the same as the previous one it be not re render however in the callback of the input event the value be the new content enter by the user and the text be the old content that have not be change if you try to revert the input box to the old content by change the text it will be ignore by vue this behavior be also present on other form this issue be modify from machine translation if something be not clear please feel free to ask |
vuejscore | memory leak when use compute be ssr mode | Bug | version 3 2 26 reproduction link github com step to reproduce describe be repository readme what be expect do not see memory leak what be actually happen memory leak I report this issue here because this be reproducible in both vite and nuxt environment if this be not an appropriate repo please tell I where I should report to |
vuejscore | watcher in nest element in keep alive be call twice | Bug | version 3 2 26 reproduction link code github com demo netlify com step to reproduce 1 click 2 open devtool on the console tab 3 click about link 4 click modify share state what be expect modify state should trigger related watcher once what be actually happen modify state trigger relate watcher twice relate topic |
vuejscore | html comment break automatic attribute inheritance | Bug | version 3 2 26 reproduction link sfc vuejs org eyjbchaudnvlijoiphrlbxbsyxrlplxuica8sgvsbg9xb3jszcbjbgfzcz1cinjlzfwiplrlc3q8l0hlbgxvv29ybgq xg48l3rlbxbsyxrlplxuxg48c2nyaxb0plxuaw1wb3j0iehlbgxvv29ybgqgznjvbsbcii4vsgvsbg9xb3jszc52dwvcijtcblxuzxhwb3j0igrlzmf1bhqge1xuicbuyw1loibcikfwcfwilfxuicbjb21wb25lbnrzoib7xg4gicagsgvsbg9xb3jszcxcbiagfsxcbn07xg48l3njcmlwdd5cblxuphn0ewxlplxulnjlzcb7xg4gignvbg9yoibyzwq7xg59xg48l3n0ewxlplxuiiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge1xuicagifwidnvlxci6ifwiahr0chm6ly9zzmmudnvlanmub3jnl3z1zs5ydw50aw1llmvzbs1icm93c2vylmpzxcjcbiagfvxufsisikhlbgxvv29ybgqudnvlijoiphrlbxbsyxrlplxuica8is0tignvbw1lbnqgqsatlt5cbiagphnwyw4gdi1pzj1cimzhbhnlxci xg4gicagphnsb3qglz5cbiagpc9zcgfuplxuxg4gidwhls0gy29tbwvudcbcic0tplxuica8zgl2ihytzwxzzt5cbiagica8c2xvdcavplxuica8l2rpdj5cbjwvdgvtcgxhdgu xg4ifq step to reproduce see the minimal reproduction as be the class red attribute be not pass down to the component try remove comment b from the component and it will work or if you move it underneath within the v else it will also work what be expect html comment in the template should have no affect on the underlie style behavior css js vue or anything what be actually happen an html comment combine with v if be confuse vue s ability to automatically inherit attribute |
vuejscore | ref for type be not correct in intrinsicelement | Bug | version 3 2 26 reproduction link stackblitz com step to reproduce type check error what be expect type be right what be actually happen type error l1309 l1315 we should add prop type for tsx type check l93 l106 image |
vuejscore | toref and ref give type any instead of ref | Bug | version 3 2 26 step to reproduce interface prop error2 any const prop defineprop const error2 toref prop what be expect error2 should be ref what be actually happen error2 be any |
vuejscore | ssr bug transition group lack of attribute and class | Bug | version 3 2 26 reproduction link codesandbox io step to reproduce create transition group with tag and class on ssr it win t have any datum attribute if need or class provide what be expect to have all attribute class provide by code what be actually happen it doesn t have any attribute class provide by code |
vuejscore | ssr bug unintended attribute bind for component | Bug | version 3 2 26 reproduction link codesandbox io step to reproduce create component a with nest component b and some other element with v bind attrs that should bind attribute provide only to this element then in parent use component a with attrs like type text in ssr both element in component a will have that attribute what be expect only component b should have attribute provide by parent what be actually happen both element have attribute provide by parent |
vuejscore | dynamic template ref name doesn t work since 3 2 25 version | Bug | version 3 2 25 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdd5cbmltcg9ydcb7ihjlziwgb25nb3vudgvklcbnzxrddxjyzw50sw5zdgfuy2usigrlzmluzunvbxbvbmvudcb9igzyb20gj3z1zsdcblxuigv4cg9ydcbkzwzhdwx0igrlzmluzunvbxbvbmvudch7xg4gicbzzxr1ccgpe1xuicagicbjb25zdcbkew5hbwljumvmtmftzsa9icdpbnb1dcdcbiagicagxg4gicagy29uc3qgaw5wdxqxid0gcmvmkclcbiagicbjb25zdcbpbnb1ddigpsbyzwyokvxuicagifxuicagig9utw91bnrlzcgoksa9pib7xg4gicagicbjb25zb2xllmxvzygnaw5wdxqgmtonlcbpbnb1ddeudmfsdwupxg4gicagicbjb25zb2xllmxvzygnaw5wdxqgmjonlcbpbnb1ddiudmfsdwupxg4gicagfslcbiagicagxg4gicagihjldhvybib7xg4gicagicagaw5wdxqxlcbpbnb1ddjcbiagicagfvxuicagfvxuih0pxg5cbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxpbnb1dcb2lwzvcj1cimkgaw4gmlwiidpyzwy9xcjgaw5wdxqke2l9yfwiidp2ywx1zt1cimbpbnb1dcr7ax1gxci xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vdw5wa2cuy29tl0b2dwuvcnvudgltzs1kb21amy4ylji2l2rpc3qvcnvudgltzs1kb20uzxntlwjyb3dzzxiuanncilxuicb9xg59in0 step to reproduce 1 open link to sfc playground eyjbchaudnvlijoiphnjcmlwdd5cbmltcg9ydcb7ihjlziwgb25nb3vudgvklcbnzxrddxjyzw50sw5zdgfuy2usigrlzmluzunvbxbvbmvudcb9igzyb20gj3z1zsdcblxuigv4cg9ydcbkzwzhdwx0igrlzmluzunvbxbvbmvudch7xg4gicbzzxr1ccgpe1xuicagicbjb25zdcbkew5hbwljumvmtmftzsa9icdpbnb1dcdcbiagicagxg4gicagy29uc3qgaw5wdxqxid0gcmvmkclcbiagicbjb25zdcbpbnb1ddigpsbyzwyokvxuicagifxuicagig9utw91bnrlzcgoksa9pib7xg4gicagicbjb25zb2xllmxvzygnaw5wdxqgmtonlcbpbnb1ddeudmfsdwupxg4gicagicbjb25zb2xllmxvzygnaw5wdxqgmjonlcbpbnb1ddiudmfsdwupxg4gicagfslcbiagicagxg4gicagihjldhvybib7xg4gicagicagaw5wdxqxlcbpbnb1ddjcbiagicagfvxuicagfvxuih0pxg5cbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxpbnb1dcb2lwzvcj1cimkgaw4gmlwiidpyzwy9xcjgaw5wdxqke2l9yfwiidp2ywx1zt1cimbpbnb1dcr7ax1gxci xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vdw5wa2cuy29tl0b2dwuvcnvudgltzs1kb21amy4ylji2l2rpc3qvcnvudgltzs1kb20uzxntlwjyb3dzzxiuanncilxuicb9xg59in0 2 change version of vue to 2 2 25 3 open console you will see that refs value have undefined value input 1 undefined input 2 undefined 4 change version to 2 2 24 in console you will see that input1 and input2 value contain html element input 1 input 2 what be expect dynamic template ref name should work as before what be actually happen dynamic template ref with dynamic name stop work since 3 2 25 version |
vuejscore | use array in style can cause error in some case | Bug | version 3 2 26 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcblxuy29uc3qgbxnnid0gcmvmkcdizwxsbybxb3jszcenkvxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpgrpdj5cbiagica8zgl2pjwvzgl2plxuicagidxkaxy pc9kaxy xg4gicagpgrpdj48l2rpdj5cbiagica8zgl2pjwvzgl2plxuicagidxkaxy pc9kaxy xg4gicagpgrpdj48l2rpdj5cbiagica8zgl2pjwvzgl2plxuicagidxkaxy pc9kaxy xg4gicagpgrpdj48l2rpdj5cbiagica8zgl2pjwvzgl2plxuicagidxkaxy pc9kaxy xg4gicagpgrpdj48l2rpdj5cbiagica8zgl2pjwvzgl2plxuicagidxkaxy pc9kaxy xg4gicagpgrpdj48l2rpdj5cbiagica8zgl2pjwvzgl2plxuicagidxkaxy pc9kaxy xg4gicagpgrpdj48l2rpdj5cbiagica8zgl2idpzdhlszt1ciltcbiagicagicageybmb250u2l6ztogjzmwchgnih0sxg4gicagicagihsgzm9udfnpemu6iccymhb4jyb9lfxuicagicagxvwiplxuicagicagihrlc3rcbiagica8l2rpdj5cbiagpc9kaxy xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vdw5wa2cuy29tl0b2dwuvcnvudgltzs1kb21amy4ylji2l2rpc3qvcnvudgltzs1kb20uzxntlwjyb3dzzxiuanncilxuicb9xg59in0 step to reproduce delete a div that be not the last div what be expect work well what be actually happen throw an error fail to set an index property on cssstyledeclaration index property setter be not support |
vuejscore | fix reactivity transform update check to catch toref and customref | Bug | close 6349 also add unit test for these new transform |
vuejscore | fix sfc playground hide title to avoid overlap | Bug | right now when use a variable width size I use it inside slide take half the width the title block click this change hide the title to avoid block the click |
vuejscore | fix runtime dom ensure custom element can inherit provide from ancestor fix 5096 | Bug | without this patch component in custom element mode would only be able to inherit provide from the first ancestor instance anything provide far up the tree would not be available this pr ensure that each instance inherit its ancestor provide ensure any descendant have access to all provide fix 5096 |
vuejscore | activate hook be not call when use defineasynccomponent | Bug | version 3 2 26 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdd5cbmltcg9ydcb7xg4gigrlzmluzufzew5jq29tcg9uzw50lfxuicbkzwzpbmvdb21wb25lbnqsxg4gihjlywn0axzllfxufsbmcm9ticd2dwunxg5pbxbvcnqgq29tccbmcm9ticcul0nvbxaudnvlj1xuxg5lehbvcnqgzgvmyxvsdcbkzwzpbmvdb21wb25lbnqoe1xuicbjb21wb25lbnrzoib7xg4gicagq29tccxcbiagicbbc3luy0nvbxa6igrlzmluzufzew5jq29tcg9uzw50kcgpid0 ifbyb21pc2uucmvzb2x2zshdb21wksksxg4gih0sxg4gihnldhvwicgpihtcbiagicbjb25zdcbyzwnlaxzlzca9ihjlywn0axzlkht9kvxuxg4gicagcmv0dxjuihtcbiagicagihjly2vpdmvklfxuicagih1cbiagfsxcbn0pxg48l3njcmlwdd5cblxuphrlbxbsyxrlplxuica8zgl2pkm6e3sgcmvjzwl2zwqgfx08l2rpdj5cblxuica8a2vlcc1hbgl2zt5cbiagica8q29tccbaywn0axzhdgvkpvwicmvjzwl2zwquy29tcca9ihrydwvciiavplxuica8l2tlzxatywxpdmu xg4gidxrzwvwlwfsaxzlplxuicagidxbc3luy0nvbxagqgfjdgl2yxrlzd1cinjly2vpdmvklmfzew5jq29tcca9ihrydwvciiavplxuica8l2tlzxatywxpdmu xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vc2zjlnz1zwpzlm9yzy92dwuucnvudgltzs5lc20tynjvd3nlci5qc1wixg4gih1cbn0ilcjdb21wlnz1zsi6ijx0zw1wbgf0zt5cblx0pgrpdj5cbiagicbjb21wxg4gidwvzgl2plxupc90zw1wbgf0zt5cbjxzy3jpchqgplxuaw1wb3j0ihsgzgvmaw5lq29tcg9uzw50lcbvbkfjdgl2yxrlzcb9igzyb20gj3z1zsdcblxuzxhwb3j0igrlzmf1bhqgzgvmaw5lq29tcg9uzw50khtcbiagc2v0dxaoxywgeyblbwl0ih0pe1xuicagifxuicagig9uqwn0axzhdgvkkcgppt4ge1xuicagicagy29uc29szs5sb2coj2fjdgliyxqnkvxuicagicagzw1pdcgnywn0axzhdgvkjywgdhj1zslcbiagicb9kvxuicagihjldhvybib7fvxuicb9xg59kvxupc9zy3jpchq in0 step to reproduce just open the sfc playground link html what be expect be expect that the activate hook will also run on the asyncdynamiccomponent child what be actually happen not be call not sure if this behaviour be intend but it differ from vue 2 x |
vuejscore | hmr on keepalive component cause error | Bug | version 3 2 24 reproduction link codesandbox io step to reproduce 1 click go to bar and then click go to foo to make the component bar deactivate 2 click go to bar modify the code line 18 in bar vue const message ref test const message ref any other word what be expect new message be show what be actually happen typeerror parentcomponent ctx deactivate be not a function I have see the similar issue and they do not resolve this problem this issue be mention in the late comment in 4387 the parentcomponent of bar be itself instead of keep alive when hmr occur |
vuejscore | perserve immutable semantic on access reactive object property | Bug | what problem do this feature solve the problem readonly immutable semantic silently lose on access js ex 1 const x ref 0 const o reactive x readonly x other mutable prop o x 1 mutable we may use no setter compute instead but intention be less obvious js ex 2 const x ref 0 const o reactive x compute x value other mutable prop o x warning write operation fail compute value be readonly feature request vue should preserve immutable semantic when user assign a readonly ref to a reactive property ex 1 and show warning when immutable reactive property be be mutate as if ex 2 end user experience when we receive a object wrap in reactive from parent component or inject from provider or pinia store instance we re now confident to mutate any property as datum provider be now able to and suppose to handle access control for all datum they provide in the single reactive ref with volar we can even get early error js ex consume a pinia store mutate a readonly ref immutwallet import usemystore from store mystore js const store usemystore a reactive const onclick store immutwallet volar error key immutwallet be readonly this feature may immediately solve issuecomment 986019356 what do the propose api look like code sample datum provider setup access control for property js const t ref 0 global time for ex const el ref in tmpl ref for ex onmounte provide o reactive t readonly t el setinterval t value 1000 datum consumer try to access an immutable property js const o inject o const onclick o el dataset triggerat o t get ok o t 0 set will warn in web console |
vuejscore | watch handler be not immediately call when setup with multiple source all have an undefined value | Bug | version 3 2 23 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlziwgd2f0y2ggfsbmcm9ticd2dwunxg5cbmnvbnn0ignhbgxtb3vyy2vzid0gcmvmkftdkvxud2f0y2gocmvmkhvuzgvmaw5lzcksicgpid0 ihtcbiagicbjywxsu291cmnlcy52ywx1zs5wdxnokcdzaw5nbgugkhvuzgvmaw5lzcknkttcbn0sihtpbw1lzglhdgu6ihrydwv9kttcblxud2f0y2gow3jlzih1bmrlzmluzwqpxswgkckgpt4ge1xuicagicbjywxsu291cmnlcy52ywx1zs5wdxnokcdtdwx0axbszsaodw5kzwzpbmvkkscpo1xufswge2ltbwvkawf0ztogdhj1zx0po1xuicbcbndhdgnokftyzwyoj3zhbhvljyldlcaoksa9pib7xg4gicagignhbgxtb3vyy2vzlnzhbhvllnb1c2goj211bhrpcgxlich3axroihzhbhvlkscpo1xufswge2ltbwvkawf0ztogdhj1zx0po1xupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpha e3sgy2fsbfnvdxjjzxmgfx08l3a xg48l3rlbxbsyxrlplxuiiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge1xuicagifwidnvlxci6ifwiahr0chm6ly9zzmmudnvlanmub3jnl3z1zs5ydw50aw1llmvzbs1icm93c2vylmpzxcjcbiagfvxufsj9 step to reproduce create a watcher use the composition api that take an array of ref as source all resolve to an undefined value what be expect the handler should be call immediately no matter the value of the property be watch what be actually happen the handler be only call if at least one of the value be not undefined |
vuejscore | the custom directive be in the production environment and the function under instance be miss | Bug | version 3 0 0 reproduction link github com step to reproduce npm run serve npm run serve prd what be expect the button should be trigger in both environment what be actually happen in dev environment button be trigger |
vuejscore | attrs prop | Bug | version 3 2 22 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbsyw5npvwidhncij5cbiagaw1wb3j0ignvbuegznjvbsanli9blnz1zsdcbiagzxhwb3j0igrlzmf1bhqge1xuicagignvbxbvbmvudhm6ihsgxcjjb20tyvwioibjb21bih0sxg4gigrhdgeoksb7xg4gicagcmv0dxjuihtcbiagicagig5hbwu6icdtywlujyxcbiagicagihjvb3reyxrhoib7xg4gicagicagign1c3rvbunsyxnzoib1bmrlzmluzwqsxg4gicagicagig5hbwu6icdnywluioe7hos7tuagh ivhidcbiagicagih0sxg4gicagfvxuicb9lfxuicagihbyb3bzoibbxsxcbiagicbtzxrob2rzoib7xg4gicagicbjagfuz2uoksb7xg4gicagicagihroaxmucm9vderhdgeuy3vzdg9tq2xhc3mgpsanehh4ehgtehgnxg4gicagicb9xg4gicagfvxuicb9xg48l3njcmlwdd5cblxuphrlbxbsyxrlplxuicb7eybyb290rgf0ys5jdxn0b21dbgfzcyb9fvxuica8ynv0dg9uiebjbgljaz1cimnoyw5nzvwipuecuewhuzwvynv0dg9uplxuica8y29tlwegom15lwnsyxnzpvwicm9vderhdgeuy3vzdg9tq2xhc3nciiavplxupc90zw1wbgf0zt5cblxuiiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge1xuicagifwidnvlxci6ifwiahr0chm6ly9zzmmudnvlanmub3jnl3z1zs5ydw50aw1llmvzbs1icm93c2vylmpzxcjcbiagfvxufsisikeudnvlijoiphrlbxbsyxrlplxuica8ade xg4gicagy3vzdg9tq2xhc3m6iht7icrhdhryc1snbxkty2xhc3mnxsb9ftxiciavplxuicagieeg57ue5lu2ihbyb3bziht7icrwcm9wcyb9fsa8yniglz5cbiagicbbioe7hos7tibhdhrycyb7eyakyxr0cnmgfx1cbiagpc9omt5cbjwvdgvtcgxhdgu xg5cbjxzy3jpchq xg5cbmv4cg9ydcbkzwzhdwx0ihtcbiagchjvchm6iftdlfxuicbkyxrhkckge1xuicagihjldhvybib7xg4gicagicbyb290rgf0ytoge1xuicagicagicbuyw1loianqsdnu4tku7bmoifor4ynxg4gicagicb9xg4gicagfvxuicb9lfxuicbjb21wb25lbnrzoib7fsxcbiagbw91bnrlzcgpihtcbiagicbjb25zb2xllmxvzygnqsbtb3vudgvkjywgdghpcywgjz09psakchjvchmgpt09jywgdghpcy4kchjvchmsicc9pt0gjgf0dhjzid09pscsihroaxmujgf0dhjzkvxuicb9lfxuicb1cgrhdgvkkckge1xuicagignvbnnvbguubg9nkcdbihvwzgf0zwqnlcb0aglzlcanpt09icrwcm9wcya9pt0nlcb0aglzlirwcm9wcywgjz09psakyxr0cnmgpt09jywgdghpcy4kyxr0cnmpxg4gih0sxg4gihdhdgnooib7xg4gicagjgf0dhjzoib7xg4gicagicboyw5kbgvykg5ld1ypihtcbiagicagicagy29uc29szs5sb2cojz09pt09psb3yxrjacakyxr0cnmgpt09pt4nlcbuzxdwkvxuicagicagfsxcbiagicagigltbwvkawf0ztogdhj1zsxcbiagicagigrlzxa6ihrydwvcbiagicb9lfxuxg4gicagjhbyb3bzoib7xg4gicagicboyw5kbgvykg5ld1ypihtcbiagicagicagy29uc29szs5sb2cojz09pt09psb3yxrjacakchjvchmgpt09pt4nlcbuzxdwkvxuicagicagfsxcbiagicagigltbwvkawf0ztogdhj1zsxcbiagicagigrlzxa6ihrydwvcbiagicb9xg4gih0sxg4gig1ldghvzhm6iht9xg59xg48l3njcmlwdd4ifq step to reproduce attr underfine attr attrs prop attr prop updateprop hmrid underfine attribute porp what be expect attrs porps what be actually happen attrs prop porp |
vuejscore | type definecomponent turn any prop into unknown | Bug | version 3 2 22 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1ccbsyw5npvwidhncij5cblx0zgvmaw5luhjvchm8eyb3agf0zxzlcjogyw55ih0 kclcbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxkaxy xg4gicagswygvfmgy2hly2tzihlvdxigdgvtcgxhdgusiguuzy4gdxnpbmcgvm9syxisihdoyxrldmvyiglzihr5cgvkigfzihvua25vd24gyw5kihroaxmgaxmgyw4gzxjyb3i6xg4gicage3t3agf0zxzlci5zb21lfx1cbiagpc9kaxy xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vc2zjlnz1zwpzlm9yzy92dwuucnvudgltzs5lc20tynjvd3nlci5qc1wixg4gih1cbn0ifq step to reproduce use typescript define a prop type as any try to access random member in template image what be expect no compilation error what be actually happen typescript complain because the prop be of type unknown downstream issue in volar johnsoncodehk volar 713 johnsoncodehk trace the issue to be in definecomponent typing |
vuejscore | errorhandler doesn t catch error from onactivate when callback be async | Bug | version 3 2 22 reproduction link codesandbox io step to reproduce add an errorhandler to app config errorhandler then add onactivate with async function to the setup function of a component and throw an error inside what be expect the errorhandler add to app config errorhandler should catch the error like it do for onmounte what be actually happen app config errorhandler do not catch the error I ve try async with onmounted which work perfectly fine I m use onactivate with keep alive |
vuejscore | server renderer do not work as expect inside a v for on slot with scope | Bug | version 3 2 22 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcbxcmfwcgvyq29tccbmcm9ticcul1dyyxbwzxjdb21wlnz1zsc7xg5pbxbvcnqgv29ya2luz1dyyxbwzxigznjvbsanli9xb3jraw5nv3jhchblci52dwuno1xuaw1wb3j0ie91dhnpzgvdb21wigzyb20gjy4vt3v0c2lkzunvbxaudnvljztcbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxipldpdgggu2nvcgu8l2i pgjyplxuica8v3jhchblcknvbxagomnvbxbvbmvudd1cik91dhnpzgvdb21wxci xg4gicagphrlbxbsyxrlicnkzwzhdwx0pvwie3h9xci xg4gifx0icbty29wzsb4oib7eyb4ih19ic0gvghpcybkb2vzig5vdcb3b3jrigluifntuiwgy29udgvudcbvzibkzwzhdwx0ihnsb3qgaxmgbm90ihjlbmrlcmvkigluc2lkzsb0agugc3nyigh0bwwuxg4gicagpc90zw1wbgf0zt5cbiagpc9xcmfwcgvyq29tcd5cbiagxg4gidxocj5cbiagpgi v2l0ag91dcbty29wztwvyj48yni xg4gidxxb3jraw5nv3jhchblcia6y29tcg9uzw50pvwit3v0c2lkzunvbxbcij5cbiagica8dgvtcgxhdgugi2rlzmf1bhq xg4gifx0xhrobybty29wzsatifroaxmgd29ya3mgaw4gu1nslibdb250zw50ig9migrlzmf1bhqgc2xvdcbpcybyzw5kzxjlzcbpbnnpzgugdghlihnzcibodg1sllxuicagidwvdgvtcgxhdgu xg4gidwvv29ya2luz1dyyxbwzxi xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vc2zjlnz1zwpzlm9yzy92dwuucnvudgltzs5lc20tynjvd3nlci5qc1wixg4gih1cbn0ilcjxcmfwcgvyq29tcc52dwuioii8c2nyaxb0ihnldhvwigxhbmc9xcj0c1wiplxuicbkzwzpbmvqcm9wczx7y29tcg9uzw50oibhbnl9pigpo1xupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpgnvbxbvbmvudca6axm9xcjjb21wb25lbnrcij5cbiagica8dgvtcgxhdgugdi1mb3i9xcioxywgc2xvde5hbwupig9micrzbg90c1wiicnbc2xvde5hbwvdpvwic2nvcgvcij5cbiagicagifnmt1q6iht7ihnsb3royw1lih19pgjyplxuicagicagphnsb3qgom5hbwu9xcjzbg90tmftzvwiihytymluzd1cinnjb3blihx8iht9xcivpjxicj5cbiagica8l3rlbxbsyxrlplxuica8l2nvbxbvbmvudd5cbjwvdgvtcgxhdgu iiwiv29ya2luz1dyyxbwzxiudnvlijoiphnjcmlwdcbzzxr1ccbsyw5npvwidhncij5cbiagzgvmaw5luhjvchm8e2nvbxbvbmvuddogyw55ft4okttcbjwvc2nyaxb0plxuxg48dgvtcgxhdgu icbcbiagpgnvbxbvbmvudca6axm9xcjjb21wb25lbnrcij5cbiagica8dgvtcgxhdgugdi1mb3i9xcioxywgc2xvde5hbwupig9micrzbg90c1wiplxuicagicagu0xpvdoge3sgc2xvde5hbwugfx08yni xg4gicagica8c2xvdca6bmftzt1cinnsb3royw1lxcivpjxicj5cbiagica8l3rlbxbsyxrlplxuica8l2nvbxbvbmvudd5cbjwvdgvtcgxhdgu iiwit3v0c2lkzunvbxaudnvlijoiphnjcmlwdcbzzxr1cd5cbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxzbg90ihytymluzd1cint4oiaxfvwilz5cbjwvdgvtcgxhdgu in0 step to reproduce generate html output with vue server renderer what be expect the content of the default slot of wrappercomp should be place inside the html what be actually happen the content of the default slot of wrappercomp be miss inside the html in spa mode everything work fine the error only occur with ssr ssg this error occur use v0 16 1 I be able to narrow down that this happen during the call of the server renderer |
vuejscore | fix compiler sfc import in | Bug | fix 3238 |
vuejscore | select option value attribute be not set if value be equal to text | Bug | version 3 2 22 reproduction link sfc vuejs org eyjbchaudnvlijoiphrlbxbsyxrlplxuica8c2vszwn0plxuicagxhq8b3b0aw9uihzhbhvlpvwizm9vmvwipmzvbze8l29wdglvbj5cbiagifx0pg9wdglvbib2ywx1zt1cimzvbzjcij5mb288l29wdglvbj5cbiagpc9zzwxly3q xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vc2zjlnz1zwpzlm9yzy92dwuucnvudgltzs5lc20tynjvd3nlci5qc1wixg4gih1cbn0ifq step to reproduce inspect the select option and see that the option with value textcontent have no value set what be expect regardless of the textcontent I expect an option to correctly have the value attribute and not silently remove it what be actually happen the value attribute be remove I have verify that this be not happen in vue2 reproduction link if I m miss some part of the option spec please point I to it but as far as I be see it it be perfectly valid to have an option with value textcontent and I our case need for e2e test framework like selenium to select a predefine value |
vuejscore | use iife in script setup throw error | Bug | version 3 2 21 reproduction link sorry online sfc not throw error this be my local error and my source code image image step to reproduce 1 use iife function in script setup 2 chrome devtool throw error about expose be not a function what be expect not throw error what be actually happen use iife function in script setup throw error |
vuejscore | template be not update when pass vnode to dynamic component | Bug | version 3 2 21 reproduction link eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbiagaw1wb3j0ihsgacwgcmvmih0gznjvbsandnvlj1xuicbcbiagy29uc3qgy2hly2tlzca9ihjlzihbxslcbiagy29uc3qgawrzid0gwydhjywgj2inlcanyyddxg5cbiagznvuy3rpb24gcmvuzgvykglkksb7xg4gicagy29uc3qgaxndagvja2vkid0gy2hly2tlzc52ywx1zs5pbmnsdwrlcyhpzclcbiagicbcbiagicbjb25zb2xllmxvzyhpzcwgaxndagvja2vkkvxuicagifxuicagihjldhvybibokcdkaxynlcb7xg4gicagicbzdhlsztogeybjb2xvcjogaxndagvja2vkid8gj2dyzwvujya6icdyzwqnih0sxg4gicagfswgyfsgjhtpzh0gxsake2lzq2hly2tlzca icdjagvja2vkjya6icd1bmnozwnrzwqnfwapxg4gih1cbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxsywjlbcb2lwzvcj1cimlkigluiglkc1wiidprzxk9xcjpzfwiplxuicbcddxpbnb1dcb2lw1vzgvspvwiy2hly2tlzfwiidp2ywx1zt1cimlkxcigdhlwzt1cimnozwnrym94xciglz5cbiagica8c3bhbj57eybpzcb9ftwvc3bhbj5cbiagpc9sywjlbd5cbiagxg4gidxjb21wb25lbnqgdi1mb3i9xcjpzcbpbibpzhnciia6axm9xcjyzw5kzxioawqpxciglz5cbjwvdgvtcgxhdgu iiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge1xuicagifwidnvlxci6ifwiahr0chm6ly9zzmmudnvlanmub3jnl3z1zs5ydw50aw1llmvzbs1icm93c2vylmpzxcjcbiagfvxufsisiknvbxaudnvlijoiphnjcmlwdd5cbiagaw1wb3j0ihsgcmvmlcbolcb3axrorglyzwn0axzlcywgdk1vzgvsq2hly2tib3gsihjlc29sdmveew5hbwljq29tcg9uzw50ih0gznjvbsandnvlj1xuicbcbiagzxhwb3j0igrlzmf1bhqge1xuicagihnldhvwkckge1xuicagicagy29uc3qgy2hly2tlzca9ihjlzihbxslcblxuicagicagznvuy3rpb24gcmvuzgvykglkksb7xg4gicagicagignvbnn0iglzq2hly2tlzca9ignozwnrzwqudmfsdwuuaw5jbhvkzxmoawqpxg5cbiagicagicagcmv0dxjuiggoj2rpdicsihtcbiagicagicagicbzdhlsztogeybjb2xvcjogaxndagvja2vkid8gj2dyzwvujya6icdyzwqnih0sxg4gicagicagih0siglzq2hly2tlzca icdjagvja2vkjya6icd1bmnozwnrzwqnkvxuicagicagfvxuxg4gicagicbyzxr1cm4gkckgpt4gacgnzgl2jywgw1xuicagicagicbcbiagicagicagwydhjywgj2inlcanyyddlm1hcchpzca9pibokcdsywjlbccsihsga2v5oibpzcb9lcbbxg4gicagicagicagd2l0aerpcmvjdgl2zxmoacgnaw5wdxqnlcb7xg4gicagicagicagicanb25vcgrhdgu6bw9kzwxwywx1zscozskge1xuicagicagicagicagicbjagvja2vklnzhbhvlid0gzvxuicagicagicagicagfsxcbiagicagicagicagihr5cgu6icdjagvja2jveccsxg4gicagicagicagicb2ywx1ztogawqsxg4gicagicagicagfsksiftcbiagicagicagicagift2tw9kzwxdagvja2jvecwgy2hly2tlzc52ywx1zv1cbiagicagicagicbdksxcbiagicagicagicbpzcxcbiagicagicagxskplfxuicagicagicbyzxnvbhzlrhluyw1py0nvbxbvbmvudchyzw5kzxioj2enkslcbiagicagif0pxg4gicagfvxuicb9xg48l3njcmlwdd5cbij9 step to reproduce click on some checkbox what be expect template should update to show information about the select field what be actually happen nothing happen even though render function be call additional information there s a workaround for this issue instead of use I replace it with a functional component that receive a vnode as a prop and return it js const child child child but I be not sure if this be the correct way to handle my use case or if it be a bug that need to be fix |
vuejscore | prop | Bug | version 5 0 0 beta 6 reproduction link github com environment info system os window 10 10 0 19042 cpu 4 x64 intel r core tm i5 4460 cpu 3 20ghz binary node 16 13 0 c program file nodejs node exe yarn 1 22 17 appdata roam npm yarn cmd npm 8 1 2 c program file nodejs npm cmd browser chrome 95 0 4638 69 edge spartan 44 19041 423 0 chromium 95 0 1020 40 npmpackage vue babel helper vue jsx merge prop 1 2 1 vue babel helper vue transform on 1 0 2 vue babel plugin jsx 1 1 1 vue babel plugin transform vue jsx 1 2 1 vue babel preset app 5 0 0 beta 6 vue babel preset jsx 1 2 4 vue babel sugar composition api inject h 1 2 1 vue babel sugar composition api render instance 1 2 4 vue babel sugar functional vue 1 2 2 vue babel sugar inject h 1 2 2 vue babel sugar v model 1 2 3 vue babel sugar v on 1 2 3 vue cli overlay 5 0 0 beta 6 vue cli plugin babel 5 0 0 beta 6 5 0 0 beta 6 vue cli plugin eslint 5 0 0 beta 6 5 0 0 beta 6 vue cli plugin router 5 0 0 beta 6 5 0 0 beta 6 vue cli plugin typescript 5 0 0 beta 6 5 0 0 beta 6 vue cli plugin vuex 5 0 0 beta 6 5 0 0 beta 6 vue cli service 5 0 0 beta 6 5 0 0 beta 6 vue cli share util 5 0 0 beta 6 vue compiler core 3 2 21 vue compiler dom 3 2 21 vue compiler sfc 3 2 21 3 2 21 vue compiler ssr 3 2 21 vue component compiler util 3 2 2 vue devtool api 6 0 0 beta 19 vue eslint config standard 6 1 0 6 1 0 vue eslint config typescript 7 0 0 7 0 0 vue reactivity 3 2 21 vue ref transform 3 2 21 vue runtime core 3 2 21 vue runtime dom 3 2 21 vue server renderer 3 2 21 vue share 3 2 21 vue web component wrapper 1 3 0 eslint plugin vue 7 2 0 7 20 0 typescript 4 1 5 4 1 6 vue 3 2 21 3 2 21 vue cli plugin quasar 4 0 3 4 0 3 vue demi undefine 0 12 0 vue eslint parser 7 11 0 vue hot reload api 2 3 4 vue loader 16 8 1 15 9 8 vue router 4 0 3 4 0 12 vue style loader 4 1 3 vue template es2015 compiler 1 9 1 npmglobalpackage vue cli not find step to reproduce 1 npm install 2 npm run build 3 dist index html what be expect msg msg true what be actually happen msg msg false boolean msg prop msg msg true msg vue cli typescript |
vuejscore | fix compat don t bind function from globalpropertie to the current istance if it have additional property | Bug | problem in vue 2 we add global property to the vue prototype js vue prototype myfunc function this will automatically make this in such a function point ot the component instance in vue 3 s compat behaviour we need to call fn bind proxy to achieve a similar behaviour but this pose a problem for funtion that 1 don t need access to the component proxy and 2 have additional property which be lose during fn bind js app config globalpropertie axio axio this axios post post be undefined solution to accomodate fort his common usecase I add a check for object key val length 0 the reasoning be if the function have additional property it be almost surely an external library and not a plain function mean to be use as an instance method alternative we could alternatively re apply all of the custom property that we find with object key onto the new bind function but I m not convince the effort and additional code would be worth the gain close 4403 |
vuejscore | can t get expose data type from child component when use script setup and typescript | Duplicate | version 3 2 16 reproduction link github com step to reproduce I have two question 1 I can t get expose datum hint when use typescript javascript const handlenamechange count value math random console log testcomponentref value title can t get expose datum hint 2 I must to write javascript if not add that when import testcomponent from component testcomponent vue will get error not export the default error what be expect get the right hint what be actually happen get error |
vuejscore | script setup nullable prop type cause compile error | Bug | version 3 2 20 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1ccbsyw5npvwidhncij5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcblxuy29uc3qgbxnnid0gcmvmkcdizwxsbybxb3jszcenkvxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpggxpnt7ig1zzyb9ftwvade xg4gidxpbnb1dcb2lw1vzgvspvwibxnnxci xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vc2zjlnz1zwpzlm9yzy92dwuucnvudgltzs5lc20tynjvd3nlci5qc1wixg4gih1cbn0ilcjfcnjvcnmudnvlijoiphnjcmlwdcbzzxr1ccbsyw5npvwidhncij5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcbiagxg5pbnrlcmzhy2uguhjvchmge1xuicagihnob3c oibjdgvtihwgym9vbgvhbib8ig51bgxcbn1cbmnvbnn0ihbyb3bzid0gd2l0aerlzmf1bhrzkgrlzmluzvbyb3bzpfbyb3bzpigplcb7xg4gicagc2hvdzogkckgpt4gzmfsc2usxg59kvxuxg5jb25zdcbtc2cgpsbyzwyoj0hlbgxvifdvcmxkiscpxg48l3njcmlwdd5cblxuphrlbxbsyxrlplxuica8adegdi1pzj1cinnob3dcij57eybtc2cgfx08l2gxplxuica8aw5wdxqgdi1tb2rlbd1cim1zz1wiplxupc90zw1wbgf0zt4ilcjob0nvbxbpbgvfcnjvcnmudnvlijoiphnjcmlwdcbzzxr1ccbsyw5npvwidhncij5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcbiagxg5jb25zdcbwcm9wcya9igrlzmluzvbyb3bzkhtcbiagicbzag93oib7xg4gicagicagihr5cgu6iejvb2xlyw4gyxmguhjvcfr5cgu8qm9vbgvhbib8iel0zw0gfcbudwxspixcbiagicagicagzgvmyxvsddogzmfsc2vcbiagicb9xg59kvxuxg5jb25zdcbtc2cgpsbyzwyoj0hlbgxvifdvcmxkiscpxg48l3njcmlwdd5cblxuphrlbxbsyxrlplxuica8adegdi1pzj1cinnob3dcij57eybtc2cgfx08l2gxplxuica8aw5wdxqgdi1tb2rlbd1cim1zz1wiplxupc90zw1wbgf0zt4ifq step to reproduce run the sfc playground code with npm run dev and the error vue file will throw a build error the noerror vue file will not throw an error the only difference be the way nullable prop be define in script setup what be expect should compile without error what be actually happen withdefault defineprop in script setup throw an error when interface declaration include the null type |
vuejscore | event fire twice although no emit use in code | Bug | version 3 2 19 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcbmltcg9ydcbdb21wigzyb20gjy4vq29tcc52dwuno1xuaw1wb3j0ienvbxayigzyb20gjy4vq29tcdiudnvljztcbiagxg5jb25zdcbuid0gcmvmkdapxg48l3njcmlwdd5cblxuphrlbxbsyxrlplxuica8y29tcg9uzw50iglzpvwic3r5bgvcij5cbiagicbomsb7igzvbnqtc2l6ztogmtzwedsgy3vyc29yoibwb2ludgvyoybiywnrz3jvdw5koiajzgrkoybwywrkaw5noiawljvlbtsgfsbcbiagicbomtpob3zlcib7igjhy2tncm91bmq6icm2own9xg4gidwvy29tcg9uzw50plxuica8y29tccbay2xpy2s9xcirk25cii8 xg4gidxjb21wmibay2xpy2s9xcirk25cii8 xg4gidxkaxy q2xpy2tzoib7e259ftwvzgl2piagxg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vc2zjlnz1zwpzlm9yzy92dwuucnvudgltzs5lc20tynjvd3nlci5qc1wixg4gih1cbn0ilcjdb21wlnz1zsi6ijx0zw1wbgf0zt5cbjxomsbcblx0xhray2xpy2suchjldmvudc5zdg9wxg5cdfx0di1iaw5kpvwijgf0dhjzxci u2vuzhmgmibjbgljaybldmvudhmhpc9omt5cbjwvdgvtcgxhdgu iiwiq29tcdiudnvlijoiphrlbxbsyxrlplxupggxifxuxhrcdhytymluzd1ciirhdhryc1wiplnlbmrzidegy2xpy2sgzxzlbnqgyxmgzxhwzwn0zwqhpc9omt5cbjwvdgvtcgxhdgu in0 step to reproduce click on the label in the reproduction what be expect event should fire only once what be actually happen event be fire twice when merge the template into one template the fire 2 text fire only once |
vuejscore | prop inheritance doesn t work in some case when proxy component also have some prop | Bug | version 3 2 20 reproduction link sfc vuejs org eyjbchaudnvlijoiphrlbxbsyxrlplxuica8zgl2plxuicagihroaxmgzg9lc24ndcb3b3jrolxuicagidxidxr0b24gqgnsawnrpvwibxnnid0gj2zvbydcij5jagfuz2ugbxnnpc9idxr0b24 xg4gicagphbyb3h5lwnvbxagom1zzz1cim1zz1wilz5cbiagpc9kaxy xg4gidxkaxy xg4gicagdghpcyb3b3jrczpcbiagica8ynv0dg9uiebjbgljaz1cim1zzzigpsanzm9vj1wipmnoyw5nzsbtc2c8l2j1dhrvbj5cbiagica8chjvehkty29tcca6bxnnpvwibxnnmlwilz5cbiagpc9kaxy xg48l3rlbxbsyxrlplxuxg48c2nyaxb0ihnldhvwplxuaw1wb3j0ifbyb3h5q29tccbmcm9ticcul1byb3h5q29tcc52dwunxg5pbxbvcnqgeybyzwysignvbxb1dgvkih0gznjvbsandnvlj1xuy29uc3qgbxnnid0gcmvmkhvuzgvmaw5lzck7icbcbmnvbnn0ig1zzzigpsbyzwyojycpo1xupc9zy3jpchq iiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge1xuicagifwidnvlxci6ifwiahr0chm6ly9zzmmudnvlanmub3jnl3z1zs5ydw50aw1llmvzbs1icm93c2vylmpzxcjcbiagfvxufsisilbyb3h5q29tcc52dwuioii8dgvtcgxhdgu xg4gidx0yxjnzxqty29tcc8 xg48l3rlbxbsyxrlplxuxg48c2nyaxb0ihnldhvwplxuaw1wb3j0ifrhcmdldenvbxagznjvbsanli9uyxjnzxrdb21wlnz1zsdcbmnvbnn0ihbyb3bzid0gzgvmaw5luhjvchmoe30pxg48l3njcmlwdd4ilcjuyxjnzxrdb21wlnz1zsi6ijx0zw1wbgf0zt5cbiagpgrpdj5cbiagicb7e21zz319xg4gidwvzgl2plxupc90zw1wbgf0zt5cblxuphnjcmlwdcbzzxr1cd5cbmnvbnn0ihbyb3bzid0gzgvmaw5luhjvchmoe1xuicbtc2c6ifn0cmluz1xufslcbjwvc2nyaxb0pij9 step to reproduce 1 create a component with some prop can be empty 2 as a root node use another component with different prop 3 use somewhere component from step 1 with prop from a component create in step 2 4 start from ref compute with value undefine then update it what be expect it always get update in the low level component that support the give prop what be actually happen when the prop value be initially undefined it s not propagate inherit to the low level component workaround workaround 1 make sure that the initial value be not undefined workaround 2 make sure that the intermediate component doesn t have any prop I find this issue while work on my project in vite weirdly it work fine in dev mode and the only problem be production |
vuejscore | memory leak occur when v for s datum source change | Bug | version 3 2 20 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlziwgy29tchv0zwqsignyzwf0zvzob2rlih0gznjvbsandnvlj1xuaw1wb3j0ienoawxkq29tccbmcm9ticcul0nvbxaudnvlj1xuy29uc3qgdgltzxigpsbyzwyorgf0zs5ub3cokslcblxuy29uc3qgy2hhbmdlvgltzsa9icgpid0 ihrpbwvylnzhbhvlid0grgf0zs5ub3cokvxuy29uc3qgzgf0yvnvdxjjzsa9ignvbxb1dgvkkcgpid0 ihtcbiagy29uc3qgcmvzdwx0id0gw11cbiagzm9yichszxqgasa9ida7igkgpd0gmtawoybpkyspihtcbiagicbyzxn1bhquchvzach7xg4gicagicbpzdogycr7dgltzxiudmfsdwv9xyr7ax1gxg4gicagfslcbiagfvxuicbyzxr1cm4gcmvzdwx0o1xufslcbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxidxr0b24gqgnsawnrpvwiy2hhbmdlvgltzvwiplxuicagignoyw5nzsb0aw1lxg4gidwvynv0dg9uplxuica8zgl2plxuicagidxkaxygdi1mb3i9xcjpdgvtigluigrhdgftb3vyy2vciia6a2v5pvwiaxrlbs5pzfwiplxuicagicagpenoawxkq29tccavplxuicagidwvzgl2plxuica8l2rpdj5cbjwvdgvtcgxhdgu iiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge1xuicagifwidnvlxci6ifwiahr0chm6ly9zzmmudnvlanmub3jnl3z1zs5ydw50aw1llmvzbs1icm93c2vylmpzxcjcbiagfvxufsisiknvbxaudnvlijoiphnjcmlwdcbzzxr1cd5cbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg5cddxkaxy xg4gicagbm90agluz1xuica8l2rpdj5cbjwvdgvtcgxhdgu in0 step to reproduce click the change time button the memory curve in the performance monitor have be rise and manual gc can not be recycle what be expect no leakage occur when you click the change time button what be actually happen change the datum source lead to memory leak when v for s internal component be html native component it do not seem to cause this problem v for html |
vuejscore | relative url in srcset be not transform | Bug | it look like vue compiler sfc have a bug introduce in v3 0 0 beta 9 when add support for absolute url in srcset this bug bypass the transformation that would ve resolve the asset url in srcset l98 l158 version 3 2 20 reproduction link step to reproduce 1 in a template add an with a srcset that contain relative url with path alias html 2 start the dev server with yarn dev 3 observe no image be show in the browser and that the srcset url be unresolved what be expect the srcset url be resolve html the image appear in the browser what be actually happen the srcset url be unresolved html the image be not show |
vuejscore | encounter hydration node mismatch when use keep alive in ssr render | Bug | version 3 2 20 reproduction link github com step to reproduce first change the app vue file to the follow replace with vue second run pnpm run dev third access and you will see the error in console panel what be expect no error be report what be actually happen there be a error even though the reproduction project be use vite the error be still there when you use webpack |
vuejscore | open handle leak in createssrapp | Bug | version 3 2 20 reproduction link github com step to reproduce npm run test what be expect jest exit without warn what be actually happen image |
vuejscore | after create by vite the project con t read composition api | Bug | version 3 2 20 reproduction link codesandbox io step to reproduce create a project width vite and typescript by the last version import injectionkey provide inject from vue it s will report an error ts2305 module node modules vue dist vue have no export member injectionkey provide inject tip system mac os what be expect import injectionkey provide inject from vue can work in project what be actually happen module node modules vue dist vue have no export member injectionkey provide inject |
vuejscore | definecustomelement do not reflect attribute to prop before mount component | Bug | version 3 2 20 reproduction link github com step to reproduce 1 go to custom element attribute bug and npm i and npm build the build be watch 2 go to vue sandbox and npm i and npm serve 3 upon open the app you ll see in the console the warning because a require prop be unset and three console output show the state of the prop at various lifecyle point what be expect I d expect the attribute to be set as prop ideally before the setup function run definitely before mount what be actually happen it appear that the component be mount without any attribute be reflect as prop and we have to wait until an update after mount before be able to access the prop it s an issue to wait for the component to be update before we be give prop this be particularly problematic since its not expose to the component whether the prop will ever be set or if we need to do the work to handle the case where its not set by the end user for reference this also occur when use the custom element in other framework such as react note do some work to mount a create app in the connectedcallback of a custom element avoid this issue but I d like to use the provide custom element functionality from vue instead of have to do this connectedcallback void const prop index string string for const prop of this propslist let propvalue this attribute getnameditem prop value prop prop propvalue const app createapp this app prop const shadowroot this attachshadow mode open const wrapper document createelement div authapp mount wrapper shadowroot appendchild wrapper child 0 |
vuejscore | custom element prop number be parse as string after vue app be load | Bug | version 3 2 20 reproduction link codesandbox io step to reproduce app vue call 2 custom element the first directly and the 2nd after onmounte lifecycle open codesandbox console log the first one be correct externalid attribute be number but the 2nd be string what be expect console log prop externalid be number booleanattr true language de externalid 4339870 what be actually happen console log prop externalid be string booleanattr true language de externalid 4339870 |
vuejscore | v show conflict with style display bind | Bug | version 3 2 20 reproduction link codepen io step to reproduce click changestyle what be expect item display style change what be actually happen item display style be reset by v show cache style vod if vod in el style display currentdisplay be it feature or bug |
vuejscore | import without new line at the top of setup script defineprop cause error | Bug | version 3 2 19 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5pbxbvcnqgeybyzwygfsbmcm9ticd2dwunxg4gy29uc3qgchjvchm9zgvmaw5luhjvchmoe1xuicagzm9voln0cmluz1xuih0pxg5cbmnvbnn0ig1zzya9ihjlzignsgvsbg8gv29ybgqhjylcbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxomt57eybtc2cgfx08l2gxplxuica8aw5wdxqgdi1tb2rlbd1cim1zz1wiplxupc90zw1wbgf0zt4ilcjpbxbvcnqtbwfwlmpzb24ioij7xg4gifwiaw1wb3j0c1wioib7xg4gicagxcj2dwvcijogxcjodhrwczovl3nmyy52dwvqcy5vcmcvdnvllnj1bnrpbwuuzxntlwjyb3dzzxiuanncilxuicb9xg59in0 step to reproduce open the repro what be expect const prop prop import ref from vue what be actually happen const prop propsimport ref from vue import vue prop propsimport reactive ref import |
vuejscore | memory not release when object be pass as prop in v for loop | Bug | version 3 2 19 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlywn0axzllcbvbk1vdw50zwqgfsbmcm9ticd2dwunxg5pbxbvcnqgugfnzunvbxbvbmvudcbmcm9ticcul1bhz2uudnvlj1xuaw1wb3j0ihtqywdlfsbmcm9ticcul1bhz2uuanmnxg4gifxuy29uc3qgzgf0ysa9ihjlywn0axzlkhtcbiagcgfnzxm6iftdxg59kvxuxg5vbk1vdw50zwqokckgpt4ge1xuicbkyxrhlnbhz2vzid0gw1xuxhrcdg5ldybqywdlkcksxg4gicagbmv3ifbhz2uoksxcbiagicbuzxcgugfnzsgplfxuicagig5ldybqywdlkcksxg4gif1cbiagxg4gihnldfrpbwvvdxqokckgpt4gzgf0ys5wywdlcya9iftdlca0mdawkvxufslcbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxwywdllwnvbxbvbmvudcb2lwzvcj1ciihwywdllcbpksbpbibkyxrhlnbhz2vzxcigonbhz2u9xcjwywdlxcigomluzgv4pvwiavwiidprzxk9xcjpxci pc9wywdllwnvbxbvbmvudd5cbjwvdgvtcgxhdgu iiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge1xuicagifwidnvlxci6ifwiahr0chm6ly9zzmmudnvlanmub3jnl3z1zs5ydw50aw1llmvzbs1icm93c2vylmpzxcjcbiagfvxufsisilbhz2uuanmioijlehbvcnqgy2xhc3mgugfnzsb7xg4gignvbnn0cnvjdg9ykckge31cbn0ilcjqywdllnz1zsi6ijx0zw1wbgf0zt5cbjxkaxy xg5urvnuicbcbjwvzgl2plxupc90zw1wbgf0zt5cblxuphnjcmlwdd5cbmv4cg9ydcbkzwzhdwx0ihtcbiagchjvchm6ifsncgfnzscsicdpbmrlecddxg59xg48l3njcmlwdd4ifq step to reproduce 1 create an array of object 2 loop through the array with v for and pass the current object as a prop to the child component 3 empty the array see minimal reproduction check chrome memory profiler after force garbage collection the page class object child still remain in memory what be expect all child disappear and all the memory that be occupy by the object inside the array be release what be actually happen the child disappear but the child instance be still in memory and hold on to the object pass as prop not release the memory this even happen when you don t do anything with the prop inside the child component pass it in be enough to trigger the issue the issue seem to have be introduce in version 3 2 14 when I go back to 3 2 13 try 3 2 10 as well the issue disappear and the memory be free properly like expect |
vuejscore | toref type error say it unwrap ref but doesn t | Bug | version 3 2 19 reproduction link codesandbox io step to reproduce 1 create a shallowreactive object with a deeply nest ref 2 extract a property from it use toref 3 try to access the nest ref value what be expect the toref type be a shallow unwrap or it actually unwrap the nest ref what be actually happen the toref type state the nest ref have be unwraped when it have not be I run into this issue when I be pass a prop down to a component which mirror this setup the prop object be equivalent to the shallow reactive object and I want to get a ref to my prop but then typescript start yell at I |
vuejscore | vue warn child must be key | Bug | version 3 2 19 reproduction link step to reproduce 1 create a key loop template with 2 child element 2 wrap this template with transition group what be expect no vue warn child must be key because the key be give to template tag what be actually happen vue warn child must be key transition of the 2 element also seem to be break this be not an issue in vue2 as we be able to manually specify key for child element inside template |
vuejscore | prop not available in life cycle hook in custom element | Bug | version 3 2 19 reproduction link github com step to reproduce general 1 create a custom element 2 try use the life cycle hook to access the prop reproduction through the example 1 clone the repo provide 2 run npm I save 3 run npm run build wc 4 copy the output into lab directory 5 cd lab then run npx http server what be expect expect prop to be available in create mount before mount hook what be actually happen prop be undefined in setup onmounte onbeforemount or create hook this be happen in the definecustomelement api also it say the attribute have not be pass in console warning even though the attribute have be pass in |
vuejscore | unexpected error during scheduler flush after hydrate ssr | Bug | version 3 2 18 reproduction link codesandbox io step to reproduce see the link code sandbox I have be struggle with this error inside a large production system where we have a small part of the page that be server side render with asp and hydrate by vue on the client side I manage to create a minimal reproduction at code sandbox the key be that there be a wrapper component with a slot inside and the content of the slot be initially hide with v if the hydration complete without error but when the client later try to show the hidden section we get this exception what be expect hover the page should show the hidden part without exception what be actually happen vue warn unhandled error during execution of scheduler flush this be likely a vue internal bug can not read property of null read nextsible |
vuejscore | babel parser include again in production build with runtimecompiler true | Bug | version 3 2 13 reproduction link github com step to reproduce 1 create empty project use vue cli 2 compile it with runtimecompiler true in vue config js and vue v3 2 12 chunk vendor js 167 kb 3 install vue v3 2 16 and recompile chunk vendor js 418 kb what be expect vendor chunk doesn t include babel parser in production build as if compile with vue v3 2 12 what be actually happen babel parser include in production build so chunk vendor js be 250 kb large than if compile with vue v3 2 12 same problem as describe in not sure but probably the reason be this change diff 87e1eaad4cfc53910a34d5836d1113ca0b48c73ca02031c18e416e0978e276d3 |
vuejscore | slot not work on async custom element | Bug | version 3 2 12 reproduction link github com step to reproduce custom element usage inside index html html slot content mycomponent ce vue vue main ts ts import definecustomelement defineasynccomponent from vue slot fail customelement define my component definecustomelement defineasynccomponent import mycomponent ce vue slot work when use not async component import mycomponent from mycomponent ce vue customelement define my component definecustomelement mycomponent what be expect the slot content define when consume the custom element should be render a k a slot content what be actually happen the default slot define in the vue component be render a k a default slot |
vuejscore | transition group contain component with multiple root node throw error when transition child el getboundingclientrect be not a function | Bug | version 3 2 12 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcbmltcg9ydcbndwx0auvszw1lbnqgznjvbsanli9ndwx0auvszw1lbnqudnvljztcblxuy29uc3qgc2hvd0ltywdlid0gcmvmkgzhbhnlkvxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpgrpdj5cbiagica8ynv0dg9uiebjbgljaz1cinnob3djbwfnzsa9icfzag93sw1hz2vcij5ub2dnbgugdhjhbnnpdglvbjwvynv0dg9uplxuicagidx0cmfuc2l0aw9ulwdyb3vwig5hbwu9xcjmb28tymfyxcigy2xhc3m9xcjmb28tymfyxci xg4gicagica8bxvsdgktzwxlbwvudcb2lwlmpvwic2hvd0ltywdlxciga2v5pvwiagvsbg9ciiavplxuicagidwvdhjhbnnpdglvbi1ncm91cd5cbiagpc9kaxy xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6ihtcbiagicbcinz1zvwioibcimh0dhbzoi8vc2zjlnz1zwpzlm9yzy92dwuucnvudgltzs5lc20tynjvd3nlci5qc1wixg4gih1cbn0ilcjndwx0auvszw1lbnqudnvlijoiphnjcmlwdcbzzxr1cd5cbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxwpkzpcnn0igvszw1lbnq8l3a xg4gidxwplnly29uzcblbgvtzw50pc9wplxupc90zw1wbgf0zt4ifq step to reproduce load the sfc playground link note that it throw a warning on load click the toggle transition button note that this throw a warning but otherwise behave correctly click the toggle transition button again this throw an error what be expect the transition toggle without warning or error what be actually happen when the sfc playground load it throw the warning extraneous non prop attribute class be pass to component but could not be automatically inherit because component render fragment or text root node when the transition toggle on it throw the warning component inside render non element root node that can not be animate when it toggle off it throw the error child el getboundingclientrect be not a function this only happen if one of the thing be toggle inside a be a component with multiple root element somehow this result in the transitiongroup code try to process a text node namely the whitespace node at the beginning of the transition group div before the first child element as part of the transition node this be why it complain about the component render fragment or text root node then about a non element root node the text node and why it crash it try to call getboundingclientrect on this text node the real world case where I run into this bug use a wrap transition group add tag div make the first warning the one on load about extraneous non prop attribute go away but doesn t fix the second warning or the error |
vuejscore | export variable not expose to template with script setup | Bug | version 3 2 11 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdd5cbmv4cg9ydcbjb25zdcbiyxigpsa1o1xupc9zy3jpchq xg5cbjxzy3jpchqgc2v0dxa xg5jb25zb2xllmxvzyhcikhlbgxvihdvcmxkxcipxg48l3njcmlwdd5cblxuphrlbxbsyxrlplxuicb7eybiyxigfx1cbjwvdgvtcgxhdgu xg4ilcjpbxbvcnqtbwfwlmpzb24ioij7xg4gifwiaw1wb3j0c1wioib7fvxufsj9 step to reproduce open the reproduction the error pop up immediately what be expect export variable should be expose to the template as unexported one be compare with eyjbchaudnvlijoiphnjcmlwdd5cbmnvbnn0igjhcia9idu7xg48l3njcmlwdd5cblxuphnjcmlwdcbzzxr1cd5cbmnvbnnvbguubg9nkfwisgvsbg8gd29ybgrciilcbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4giht7igjhcib9fvxupc90zw1wbgf0zt5cbiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6iht9xg59in0 what be actually happen property bar be access during render but be not define on instance error |
vuejscore | setup bar be not a function with script setup | Bug | version 3 2 11 reproduction link github com step to reproduce run npm run serve in the reproduction repository go to and check the dev console what be expect the code should work fine and we should see hello world in the browser what be actually happen I get an error about setup bar be not a function in the dev console |
vuejscore | sfc top level await with single line if condition be be compile incorrectly | Bug | version 3 2 11 reproduction link sfc vuejs org eyjbchaudnvlijoiphrlbxbsyxrlplxuxhrbchbcbjwvdgvtcgxhdgu xg5cbjxzy3jpchqgc2v0dxa xg5mdw5jdglvbibteufzew5jrnvuy3rpb24oksb7xg5cdhjldhvybibuzxcguhjvbwlzzsgocmvzb2x2zswgcmvqzwn0ksa9pib7xg5cdfx0y29uc29szs5lcnjvcigndghpcybzag91bgqgbmv2zxigbg9njyk7xg5cdfx0cmvzb2x2zsgpo1xuxhr9kttcbn1cbi8vihnob3vszcbub3qgymugzxhly3v0zwqglsbjb25kaxrpb24gaxmgzmfsc2usigj1dcbpdcdzigjlaw5nigv4zwn1dgvkigfuexdhevxuawygkgzhbhnlksbhd2fpdcbteufzew5jrnvuy3rpb24okttcblxuly8gc2hvdwxkig5vdcbizsblegvjdxrlzcatignvbmrpdglvbibpcybmywxzzswgd29ya3mgy29ycmvjdgx5xg5pziaozmfsc2upihtcblx0yxdhaxqgbxlbc3luy0z1bmn0aw9ukck7xg59xg48l3njcmlwdd4ilcjpbxbvcnqtbwfwlmpzb24ioij7xg4gifwiaw1wb3j0c1wioib7fvxufsj9 step to reproduce check the javascript console output in the reproduction link what be expect the console error should never be execute what be actually happen the console error be be execute when a single line if statement be use it work correctly with if statement that have curly bracket |
vuejscore | script setup be not support symbol prop | Bug | version 3 2 11 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbsyw5npvwidhncij5cblx0zxhwb3j0ignvbnn0igrlzmf1bhrwaxnpymxlid0gu3ltym9skcd2axnpymxlvw5kzwzpbmvkjyk7xg48l3njcmlwdd5cblxuphnjcmlwdcbzzxr1ccbsyw5npvwidhncij5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcblxuxg5jb25zdcbwcm9wcya9ihdpdghezwzhdwx0cyhkzwzpbmvqcm9wczx7ihzpc2libgu oibib29szwfuihwgc3ltym9sih0 kcksihtcbiagdmlzawjsztogzgvmyxvsdfzpc2libgvcbn0po1xuicbcbjwvc2nyaxb0plxuxg48dgvtcgxhdgu xg4gidxomt57eyb2axnpymxlih19pc9omt5cbjwvdgvtcgxhdgu iiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge31cbn0ifq step to reproduce that prop visible type be boolean symbol be define then default value be symbol value what be expect if no provide visible prop in the parent component the sub component visible prop default value be symbol visibleundefine what be actually happen its throwing error that can not convert string to symbol |
vuejscore | inline async function in v on handler | Bug | version 3 2 11 reproduction link sfc playground repro eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbiagaw1wb3j0ihsgcmvmih0gznjvbsandnvlj1xuicbhc3luyybmdw5jdglvbibzdhvmzigpe1xuicagigfszxj0kfwiy2fsbgvkxcipxg4gicagcmv0dxjuihrydwvcbiagfvxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpggyplxuicagigfzew5jiglubgluzsboyw5kbgvyxg4gidwvadi xg4gideuiebjbgljaz1cimfzew5jicgppt4gc3r1zmyokvwixg4gidxidxr0b24gqgnsawnrpvwiyxn5bmmgkck9pibzdhvmzigpifwiplxuicagig5vbibjywxsywjszvxuica8l2j1dhrvbj5cblxuicaylibay2xpy2s9xcjhc3luyybmdw5jdglvbigpeybzdhvmzigpih1cilxuica8ynv0dg9uiebjbgljaz1cimfzew5jigz1bmn0aw9ukcl7ihn0dwzmkckgfvwiica xg4gicagbm9uignhbgxhymxlxg4gidwvynv0dg9uplxuica8adm xg4gicagd3jhccbhc3luyyboyw5kbgvyihdpdgggkckgd29ya2fyb3vuzfxuica8l2gzplxuicazlibay2xpy2s9xcioyxn5bmmgkck9pibhd2fpdcbzdhvmzigpkvwixg4gidxicj4gd29ya3mgbm9uigludgvudglvbmfsbhlcbiagpgj1dhrvbibay2xpy2s9xcioyxn5bmmgkck9pibhd2fpdcbzdhvmzigpkvwiplxuicagignhbgxhymxlicbcbiagpc9idxr0b24 xg5cbiagnc4gqgnsawnrpvwikgfzew5jigz1bmn0aw9ukcl7c3r1zmyoksb9kvwixg4gidxicj5zaw1pbgfyihrvignhc2ugmywgdghpcybhy3r1ywxsesbkb2vzig5vdcb3b3jrihdpdgggznvuy3rpb24okvxuica8ynv0dg9uiebjbgljaz1ciihhc3luyybmdw5jdglvbigpe3n0dwzmkckgfslcij5cbiagicbub3qgy2fsbgfibgugxg4gidwvynv0dg9uplxuxg4gidxomz5cbiagicbub24gyxn5bmncbiagpc9omz5cbiagns4gqgnsawnrpvwikck9pnn0dwzmkclcilxuica8ynv0dg9uiebjbgljaz1ciigppt5zdhvmzigpxci xg4gicagy2fsbgfibgugxg4gidwvynv0dg9uplxupc90zw1wbgf0zt5cblxuphn0ewxlihnjb3blzd5cbiagynv0dg9ue2rpc3bsyxk6ymxvy2s7bwfyz2luojvwedt9pc9zdhlszt4ilcjpbxbvcnqtbwfwlmpzb24ioij7xg4gifwiaw1wb3j0c1wioib7fvxufsj9 step to reproduce see sfc playground link what be expect should work js click async function click async like js click function click what be actually happen async keyword prevent detection of inline handler and wrap it as an expression js stuff non callable js createelementvnode button onclick cache 0 cache 0 event async stuff non callable note as see in case 3 4 in the repro link there be an unintentional behavior that fix the handler by use to wrap an async arrow function click async await stuff it work with but not with function |
vuejscore | suspense s fallback render manually with slot be not reactive | Bug | version 3 2 11 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlziwgaw5qzwn0lcbwcm92awrllcbtyxjrumf3ih0gznjvbsandnvlj1xuaw1wb3j0ienvbxbvbmvudcbmcm9ticcul0nvbxaudnvlj1xuicbpbxbvcnqgulzpzxcgznjvbsanli9svmlldy50cydcblxuy29uc3qgbxnnid0gcmvmkcdizwxsbybxb3jszcenkvxuxg5wcm92awrlkcd2awv3jywgbwfya1jhdyhdb21wb25lbnqpkvxuxg5jb25zdcbwzxjjzw50ywdlid0gcmvmkdapxg5cbmnvbnn0igrvbmugpsaoksa9pib7xg4gignvbnnvbguubg9nkcdkb25ljylcbn1cblxuy29uc3qgbg9hzgluzya9icgpid0 ihtcbiagy29uc29szs5sb2coj2xvywrpbmcnkvxuicbcbiagc2v0sw50zxj2ywwokckgpt4ge1xuicagihblcmnlbnrhz2uudmfsdwugkz0gmvxuicb9lcaxmdawkvxufvxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpfjwawv3plxuica8c3vzcgvuc2ugonrpbwvvdxq9xciwxcigqgzhbgxiywnrpvwibg9hzgluz1wiiebyzxnvbhzlzd1cimrvbmvcij5cbiagica8dgvtcgxhdgugi2rlzmf1bhq xg4gicagica8y29tcg9uzw50idppcz1ciknvbxbvbmvudfwiic8 xg4gicagpc90zw1wbgf0zt5cbiagica8dgvtcgxhdgugi2zhbgxiywnrplxuicagicagpgrpdj5cbiagicagicagpggxpkxvywrpbmcge3sgcgvyy2vudgfnzsb9fsa8l2gxplxuicagicagpc9kaxy xg4gicagpc90zw1wbgf0zt5cbiagpc9zdxnwzw5zzt5cbiagpc9svmlldz5cbjwvdgvtcgxhdgu iiwiaw1wb3j0lw1hcc5qc29uijoie1xuicbcimltcg9ydhncijoge31cbn0ilcjdb21wlnz1zsi6ijx0zw1wbgf0zt5cbiagq2hpbgrcbjwvdgvtcgxhdgu xg48c2nyaxb0ihnldhvwplxuyxdhaxqgbmv3ifbyb21pc2uokckgpt4ge30pxg48l3njcmlwdd4ilcjsvmlldy50cyi6imltcg9ydcb7igluamvjdcwgacwgzgvmaw5lq29tcg9uzw50ih0gznjvbsandnvlj1xuxg5lehbvcnqgzgvmyxvsdcbkzwzpbmvdb21wb25lbnqoe1xuicbzzxr1cchfccwgeybzbg90cyb9ksb7xg4gicagy29uc3qgvmlld0nvbxbvbmvudca9igluamvjdcgndmlldycpxg5cbiagicbyzxr1cm4gkckgpt4ge1xuicagignvbnn0ignvbxbvbmvudca9iggovmlld0nvbxbvbmvudclcblxuicagihjldhvybiaoxg4gicagicavlyb1c2ugwzbdihrvihjldhvybibvbmx5ig9uzsbjaglszfxuicagicagc2xvdhmuzgvmyxvsdch7ienvbxbvbmvuddogvmlld0nvbxbvbmvudcb9kvswxvxuicagiclcbiagicb9xg4gih0sxg59kvxuxg4ifq step to reproduce open link what be expect the increment update suspense s fallback template what be actually happen it stay as the initial value from this be a very simplified version of what routerview do to render its content |
vuejscore | ref return from composition outside of script setup no long work after version 3 2 8 | Bug | version 3 2 11 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbiagaw1wb3j0ihsgdxnlu29tzxroaw5nih0gznjvbsbcii4vy29tcg9zaxrpb24uannciiagxg4gifxuicbjb25zdcb7ignvbnrhaw5lciwgagfuzgxlq2xpy2sgfsa9ihvzzvnvbwv0agluzygpxg48l3njcmlwdd5cblxuphrlbxbsyxrlplxuica8zgl2ihjlzj1cimnvbnrhaw5lclwiiebjbgljaz1cimhhbmrszunsawnrxci xg4gicagsgvsbg9cbiagpc9kaxy xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6iht9xg59iiwiy29tcg9zaxrpb24uanmioijpbxbvcnqgeybyzwygfsbmcm9ticd2dwunxg5cbmv4cg9ydcbmdw5jdglvbib1c2vtb21ldghpbmcoksb7xg4gignvbnn0ignvbnrhaw5lcia9ihjlzihudwxskvxuicbcbiagy29uc3qgagfuzgxlq2xpy2sgpsaoksa9pib7xg5cdfx0y29uc29szs5sb2coxcjjbglja2vkxcipxg4gicagawygkgnvbnrhaw5lci52ywx1zskgy29uc29szs5sb2coj2hhcyb2ywx1zscpxg4gih07xg4gifxuicbyzxr1cm4geybjb250ywluzxisighhbmrszunsawnrih1cbn0ifq step to reproduce 1 in sfc playground open the console 2 click on hello div what be expect it should appear in the console click and then have value what be actually happen only click appear in dev this work normally but in build the container value in usesomethe remain null before version 3 2 8 it work in both dev and build I believe it may be relate to |
vuejscore | null | Bug | version 3 2 9 reproduction link sfc vuejs org eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbmltcg9ydcb7ihjlzib9igzyb20gj3z1zsdcbmnvbnn0ieigpsanyidcbmnvbnn0igegpsb7igjioianmscgfvxuy29uc3qgeybbycr7qn1iyf06ihggfsa9igfcblxuy29uc3qgbxnnid0gcmvmkcdizwxsbybxb3jszcenkvxupc9zy3jpchq xg5cbjx0zw1wbgf0zt5cbiagpggxpnt7ig1zzyb9ftwvade xg4gidxzcgfupnt7ihggfx08l3nwyw4 xg4gidxpbnb1dcb2lw1vzgvspvwibxnnxci xg48l3rlbxbsyxrlpiisimltcg9ydc1tyxauannvbii6intcbiagxcjpbxbvcnrzxci6iht9xg59in0 step to reproduce import set from store config module setting be string const store usestore const set questiontypecascade questiontypecascade store getter can t use questiontypecascade in |
vuejscore | prop with type string number be infer as string number date | Bug | version 3 2 9 reproduction link codesandbox io image this be a regression 3 2 8 have no error step to reproduce see link what be expect string number what be actually happen string number date |
vuejscore | template local variable reference in a function be prefix with ctx | Bug | version 3 2 8 reproduction link sfc playground eyjbchaudnvlijoiphrlbxbsyxrlplxuicbnb29kidxidxr0b24gqgnsawnrpvwikg1zzyk9pnsgicagicagicagicagxg4gicagb3v0chv0id0gj3rozsb0exbliglziccgkybtc2cudhlwzsbcbiagicb9xci xg4giensawnrxg4gidwvynv0dg9uplxuica8yni ihvzzsbtc2cgznjvbsbhcmd1bwvudfxuica8ahi xg5cblxuicbiywqgpgj1dhrvbibay2xpy2s9xciobxnnkt0 e1xuicagigxldcbhid0gj3rozsb0exbliglziccgkybtc2cudhlwzsagicagicagicagifxuicagig91dhb1dca9igfcbiagicb9xci xg4gignsawnrxg4gidwvynv0dg9uplxuica8yni bg9jywwgdmfyigegaxmgy29tcglszwqgdg8gx2n0ec5hxg5cbiagpghyplxuicbvdxrwdxq6idxipnt7b3v0chv0fx08l2i xg48l3rlbxbsyxrlplxuxg48c2nyaxb0ihnldhvwplxuicbpbxbvcnqge3jlzn0gznjvbsbcinz1zvwixg4gifxuicbszxqgb3v0chv0id0gcmvmkclcbiagxg4gignvbnn0ig1zzya9icd0aglziglzig5vdcblehbly3rlzcb0bybizsb1c2vkj1xupc9zy3jpchq in0 step to reproduce see bad case in repro link what be expect locally define variable in a function scope should not be prefix with ctx when reference inside the scope what be actually happen a reference to a local variable declare in the function scope be prefix with ctx variable define in the function scope should be treat the same like name argument for reference code be compile from html bad let a the type be msg type output a click to html createelementvnode button onclick cache 1 cache 1 msg let a the type be msg type isref output output value ctx a output a click inconsistent prefix usage isref output output value ctx a output a there be currently some inconsistency for use a the usage of a should probably be consistent for both branch of the condition |
vuejscore | sfc compiler doesn t handle semicolon in interface declaration properly when compile script setup | Bug | version 3 2 8 reproduction link github com step to reproduce git clone yarn node build js what be expect grammatical error what be actually happen grammatically correct |
vuejscore | enable reftransform will cause typeerror can not read property call of undefined | Bug | version 3 2 8 reproduction link github com step to reproduce 1 npm install 2 npm run dev 3 the console will print uncaught typeerror can not read property call of undefined at hasown share esm bundler js 492 at array doset runtime core esm bundler js 5210 at flushpostflushcb runtime core esm bundler js 7193 at render2 runtime core esm bundler js 5144 at mount runtime core esm bundler js 3479 at object app mount runtime dom esm bundler js 1515 at main js 4 what be expect no error what be actually happen print typeerror can not read property call of undefined |
vuejscore | v without directive name accidentally parse as v slot | Bug | version 3 2 7 reproduction link vue next template explorer netlify app 7b 22src 22 3a 22 3ccomp 3e 5cn 20 20 3ctemplate 20v 3e123 3c 2ftemplate 3e 5cn 3c 2fcomp 3e 22 2c 22ssr 22 3afalse 2c 22options 22 3a 7b 22mode 22 3a 22module 22 2c 22filename 22 3a 22foo vue 22 2c 22prefixidentifiers 22 3afalse 2c 22hoiststatic 22 3afalse 2c 22cachehandlers 22 3afalse 2c 22scopeid 22 3anull 2c 22inline 22 3afalse 2c 22ssrcssvar 22 3a 22 7b 20color 20 7d 22 2c 22compatconfig 22 3a 7b 22mode 22 3a3 7d 2c 22whitespace 22 3a 22condense 22 2c 22bindingmetadata 22 3a 7b 22testcomponent 22 3a 22setup 22 2c 22foo 22 3a 22setup 22 2c 22bar 22 3a 22props 22 7d 2c 22optimizeimports 22 3afalse 7d 7d step to reproduce input code like in template explorer or sfc playground what be expect vue should report miss directive name error and treat v as a plain attribute what be actually happen v be parse as v slot it s probably an implementation specific behavior when the regex v match nothing vue fallback to slot l779 l791 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.