repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
vuejscore
readonly break reactivity of map
Bug
version 3 0 11 reproduction link eyjbchaudnvlijoiphnjcmlwdd5cbiagaw1wb3j0ihsgzgvmaw5lq29tcg9uzw50lcbjb21wdxrlzcwgcmvhy3rpdmusihjlziwgd2f0y2hfzmzly3qsihjlywrvbmx5ih0gznjvbsandnvlj1xuicbcbiagzxhwb3j0igrlzmf1bhqgzgvmaw5lq29tcg9uzw50khtcbiagicbzzxr1ccaoksb7xg4gicagicbjb25zdcbpzhmgpsbyzwyow10pxg4gicagicbc...
vuejscore
fix runtime core align the merge strategy of component option with the behavior of vue2
Bug
fix 3566 2791 still wip point that need to be optimize improve the type more test case after the compat branch be merge I need to re work on this
vuejscore
typescript incompatible this in component when add emit
Bug
version 3 0 11 reproduction link step to reproduce run npm run build see app vue what be expect typescript project should compile what be actually happen typescript report an error ts2684 the this context of type componentpublicinstance ...
vuejscore
fix compiler sfc correctly remove paren use for wrap
Bug
fix 3581
vuejscore
ref sugar compile result incorrect with destructure arrow function expression
Bug
version 3 0 11 reproduction link eyjbchaudnvlijoiphnjcmlwdcbzzxr1cd5cbnjlzjogkht9id0gkckgpt4gmsk7xg5yzwy6ich7fsa9ihvzzvnvbxroaw5nkcgpid0 idepkttcbnjlzjogkht9id0gdxnlu29tdghpbmcoy29tchv0zwqokckgpt4gmskpkttcbjwvc2nyaxb0pij9 step to reproduce check the js compile result wha...
vuejscore
can not remove size attribute of
Bug
version 3 0 11 reproduction link eyjbchaudnvlijoiphrlbxbsyxrlplxuica8aw5wdxqgonnpemu9xcjzaxplxcigplxupc90zw1wbgf0zt5cblxuphnjcmlwdd5cbmv4cg9ydcbkzwzhdwx0ihtcbiagzgf0ysaoksb7xg5cdfx0cmv0dxjuihtcbiagicagihnpemu6ig51bgwsxg4gicagfsbcbiagfsbcbn1cbjwvc2nyaxb0pij9 eyjbchaudnvlijoiphrlbxbsyxrlplxuica8aw5w...
vuejscore
fix runtime core exit the optimization mode when the user manually render the compile slot
Bug
fix 3569
vuejscore
mixin be not merge correctly for build in option in this option
Bug
version 3 0 11 reproduction link sfc playground eyjbchaudnvlijoiphrlbxbsyxrlplxuica8rm9vlz5cbjwvdgvtcgxhdgu xg5cbjxzy3jpchq xg5pbxbvcnqgrm9vigzyb20gjy4vrm9vlnz1zsdcblxuzxhwb3j0igrlzmf1bhqge1xuicbjb21wb25lbnrzoib7iezvbyb9xg59xg48l3njcmlwdd4ilcjgb28udnvlijoiphrlbxbsyxrlplxuica8ade e3sgzm9vih19l3t7igj...
vuejscore
fix runtime dom should remove attribute when bind null to value
Bug
see issuecomment 805671304
vuejscore
can not have v if and async component together
Bug
version 3 0 11 reproduction link step to reproduce yarn yarn dev to see it in your browser you may see text like app and async component but will see error in the console particularly the follow code in app vue async be a component define by defineasyncc...
vuejscore
pass component to nest slot give typeerror can not read property parentnode of null
Bug
version 3 0 11 reproduction link step to reproduce click the render dropdown button with the component include in the slot popovercontent comment out the component and refreshing give expect behavior toggle the popover with hello what be expect expect to...
vuejscore
refactor the asset resolution of the script setup
Bug
close 3543 with the constant focus in setup will overwrite the globally register directive with the same name this be because the above code will be compile as js export function render ctx cache prop setup return withdirective openblock createblock div ...
vuejscore
script setup global directive collide with component s local var
Bug
version 3 0 11 reproduction link codesandbox will work as expect as it s seemingly unable to parse the new script setup syntax step to reproduce 1 register a global directive name it focus and listen for the callback 2 create a sfc with the experimental script setup ...
vuejscore
vue server renderer rendertostre generate incorrect srcset url for source element within a router link
Bug
version 3 0 11 reproduction link step to reproduce clone the git repository run npm install and then npm run generate this will generate a dist static index html file one be already generate what be expect the generate html file should have two pictu...
vuejscore
keep alive include not work for async load component
Bug
version 3 0 11 reproduction link step to reproduce in the example there be 3 tab that switch between component wrap in a with an include for 2 of the component 1 helloworld vue not load async list in keep alive include 2 helloworldasync vue load async list in ...
vuejscore
fix reactivity make it possible to get the compute s value in the unmounted hook
Bug
fix 3099 3099 be cause by this commit and this commit use to solve problem 910 in this pr I introduce the new effect option allowinactiverun so that we can specify whether a side effect fn can be execute in inactive
vuejscore
fix runtime core make manually write render function work with optimize slot
Bug
fix 2893
vuejscore
scopeid not work on router view in ssr after upgrade from
Bug
version 3 0 9 reproduction link step to reproduce run npm I npm start open browser on localhost 3000 what be expect the scopeid should be apply to the router view and the header cause the content background to be limegreen what be actually happen th...
vuejscore
dynamic component with pascalcase not work correctly
Bug
version 3 0 9 reproduction link step to reproduce what be expect component appear what be actually happen no error in console and show nothing
vuejscore
fix runtime core avoid unmount teleport s child multiple time
Bug
fix 3497
vuejscore
unmounted hook of directive on teleport s child be call twice
Bug
version 3 0 9 reproduction link image step to reproduce follow the link what be expect unmounted hook be call once what be actually happen it be call twice the bug be introduce since v3 0 8
vuejscore
firefox 52 53 click event invoker doesn t work
Bug
version 3 0 7 reproduction link step to reproduce use firefox 52 click red element what be expect click work element text change to click what be actually happen click doesn t work l113 in firefox 52 and 53 e timestamp in wrong and strange fo...
vuejscore
new line character in broken
Bug
version 3 0 7 reproduction link step to reproduce mount vue to target element let vueapp let vm vue createapp vueapp mount form what be expect new line character in render correctly what be actually happen new line character change i...
vuejscore
select option behave differently in vue 3 than vue 2
Bug
version 3 0 7 reproduction link vue 3 vue 2 step to reproduce click the submit button in both sandbox what be expect the with value null shouldn t be render as a string in vue 3 what be actually happen when you add a couple of eventually an ...
vuejscore
fix runtime core cache the value return from the default factory to avoid unnecessary watcher trigger
Bug
fix 3471 we should cache the return value from the default factory to avoid unnecessary watcher trigger which be what vue2 do
vuejscore
unexpected watch call for some prop with default generating value
Bug
version 3 0 7 reproduction link step to reproduce a child component have these option ts prop foo type object default val 1 bar type number default 0 setup prop ...
vuejscore
fix compiler sfc should not rewrite scope variable
Bug
fix 3445
vuejscore
vue server renderer rendertostre generate incorrect src url for image within a router link
Bug
version 3 0 7 reproduction link step to reproduce clone the git repository run npm install and then npm run generate this will generate a dist static index html file what be expect the generate html file should have two img tag which point to different imag...
vuejscore
experimental ref sugar local variable share a name with a top level ref be overwrite
Bug
version 3 0 7 reproduction link step to reproduce js what be expect show 2 what be actually happen show 1
vuejscore
component scope style be not apply to slot with v for
Bug
version 3 0 2 reproduction link step to reproduce just open the link what be expect first and second table should look the same what be actually happen scope style be not apply in first table generate with v for miss atribute with s in order to get ...
vuejscore
v model
Bug
version 3 0 7 reproduction link step to reproduce template compilation error v model value must be a valid javascript member expression what be expect what be actually happen vue2 0 ...
vuejscore
compute prop sometimes not update in nested component
Bug
version 3 0 7 reproduction link step to reproduce please have a look at the minimal reproduction demo what be expect all three identical component should behave identical what be actually happen the second one doesn t update correctly as request...
vuejscore
scope style apply to child component when component have 1 root element or when use composition api
Bug
version 3 0 7 reproduction link step to reproduce open see that the same logic work different depend on compostion api or count of root element what be expect background red must never be apply to child component class what be actuall...
vuejscore
wrap a compute in readonly cause console warning and break the compute s functionality
Bug
version 3 0 7 reproduction link step to reproduce 1 open the sandbox link 2 check console and see readonly warning 3 read explanation in app vue or below what be expect 1 no warning about readonly property 2 compute log true to the console w...
vuejscore
get recursive update error when add boolean prop without true
Bug
version 3 0 7 reproduction link step to reproduce I find two thing which be weird I get the maximum recursive update exceed error only if I write but if I write or false it work see comment in app vue in the demo for I a huge indicator that there ...
vuejscore
component s prop doesn t validate a property with require default specify correctly
Bug
version 3 0 7 reproduction link vue 2 x reproduce link vue 3 x reproduce link step to reproduce 1 define a prop in a component with require true and default value set 2 use this component but don t pass any prop to this component what be expect t...
vuejscore
fix runtime core fix warn for absent prop
Bug
fix 3362
vuejscore
component s prop can not correctly validate require on a boolean prop
Bug
version 3 0 7 reproduction link screenshot 20210305 100533 step to reproduce 1 define a require boolean prop in component e g bool type boolean require true in prop 2 use this component but don t pass any prop to it what be expect give a w...
vuejscore
slot not update from nest v for
Bug
version 3 0 7 reproduction link step to reproduce click the button and compare the expect with actual behaviour what be expect the slot should update the visible content to the result in the computed what be actually happen the slot isn t update ...
vuejscore
can not import on node use native esmodule mj 3 0 6
Bug
version 3 0 6 reproduction link I could not figure out a way to make this work with code sandbox or runkit they don t allow to run node directly that s why I add a script below for copy pasting step to reproduce sh mkdir test cd test npm I echo import toraw from ...
vuejscore
ssr watcheffect oninvalidate issue can not access runner before initialization
Bug
see readme in version 3 0 6 reproduction link step to reproduce sh git clone cd watcheffect runner bug yarn yarn dev then hit what be expect no error what be actually happen error
vuejscore
typescript incorrect typing for unwrapped ref
Bug
version 3 0 6 reproduction link step to reproduce npm install npm run dev open index html browser and look console output what be expect if typescript be correct console log would print ref and their value what be actually happen I s...
vuejscore
animation in scope style block be break
Bug
version 3 0 6 reproduction link step to reproduce 1 run the test project with npm run serve 2 open the dev server url in a browser 3 observe the two colored box what be expect both colored box rotate work in 3 0 5 what be actually happen only t...
vuejscore
hmr add change twice when use teleport
Bug
version 3 0 6 reproduction link step to reproduce 1 clone the repo install dependency and run npm run dev 2 open the app in the browser and click on show menu button menu will open 3 now go to app vue and after 3 add one more item 4 4 save...
vuejscore
3 0 6 option api method option be readonly
Bug
version 3 0 6 reproduction link step to reproduce 1 init method 2 change method at datum 3 throw error what be expect keep 2 x behavior what be actually happen now be readonly object
vuejscore
fix runtime core should not set the access cache in the datum fn
Bug
fix 3297
vuejscore
component do not render in prod but do in debug no error or warning
Bug
version 3 0 6 reproduction link step to reproduce 1 open repro 2 observe how the bug component do not get render no error or warning it should output 6 a s side by side 3 comment the following in line 17 in bug js see how the component get render js if this valu...
vuejscore
the directive be overwrite by the varriable which have the same name as the directive when use composition api
Bug
version 3 0 5 reproduction link step to reproduce just run it what be expect behavior as same as option api what be actually happen after compile the directive and the varriable both be property of setup image
vuejscore
child component can not render when there be same name datum
Bug
version 3 0 5 reproduction link step to reproduce open this page what be expect helloworld component render what be actually happen helloworld component do not render
vuejscore
use in a template with a textarea use v bind attrs result in a ssr error
Bug
version 3 0 5 reproduction link 7b 22src 22 3a 22 3cdiv 3e 5cn 20 20 7b 7b 20hello 20 7d 7d 5cn 20 20 3ctextarea 20v bind 3d 5c 22a 5c 22 3e 3c 2ftextarea 3e 5cn 3c 2fdiv 3e 20 20 22 2c 22ssr 22 3atrue 2c 22options 22 3a 7b 22mode 22 3a 22module 22 2c 22prefixidentifiers 22 3afalse 2c 22optimizeimpo...
vuejscore
leave transition do not work properly when use javascript hook
Bug
version 3 0 5 reproduction link step to reproduce 1 click the toggle button wait for the enter transition end 2 then click the toggle button again what be expect the leave transition work well and after the transition end the red square disappear ...
vuejscore
ssr error with keepalive can not destructure property p of undefined or null
Bug
version 3 0 5 reproduction link step to reproduce 1 yarn 2 yarn dev 3 error be report from src page home js typeerror can not destructure property p of undefined or null at setup user razvan work test vue3 ssr bug keepalive node modules vue ...
vuejscore
fix hydration should handle camel case name when perform match assertion
Bug
fix 3243
vuejscore
fix hydration vnode be of text type and with empty text should be skip when hydratechildren
Bug
fix 3245
vuejscore
ssr hydration error with comment and null value variable interpolation
Bug
version 3 0 5 reproduction link step to reproduce 1 yarn 2 yarn dev 3 check browser console runtime core esm bundler js 38 vue warn hydration child mismatch in server render element contain few child node than client vdom at ref ref undefined at ...
vuejscore
ssr hydration error with
Bug
version 3 0 5 reproduction link step to reproduce 1 yarn 2 yarn dev 3 check browser console vue warn hydration node mismatch client vnode div server render dom at at ref ref undefined at at also check terminal output ...
vuejscore
ssr hydration error with animatetransform node
Bug
version 3 0 5 reproduction link step to reproduce 1 yarn 2 yarn dev 3 check browser console what be expect should not have any hydration error what be actually happen have hydration error vue warn hydration node mismatch client vnode animat...
vuejscore
import in normal
Bug
version 3 0 5 reproduction link src app vue src app vue step to reproduce see the link what be expect do not expose import in normal
vuejscore
transition typeerror with multiple listener
Bug
version 3 0 5 reproduction link step to reproduce click the toggle button what be expect the grey square should hide what be actually happen uncaught in promise typeerror onleave be not a function work in vue 2
vuejscore
fix runtime core the select tag s multiple prop should be set before the child mount
Bug
fix 3199 align with vue2 l7 l13
vuejscore
multiple select initialization
Bug
version 3 0 5 reproduction link step to reproduce 1 create select with few different option 2 add multiple attr to select 3 add select attr to few select option 4 just update the page what be expect all select option be choose what b...
vuejscore
async component be lose from ref after a state update
Bug
version 3 0 5 reproduction link step to reproduce click on the click I button two or more time what be expect after the first click the follow message should appear can I see ref promisedcomponent yes can I see ref regularcomponent yes ...
vuejscore
fix compiler dom ensure global build filename match the one define in package json close 3181
Bug
package json currently state unpkg dist compiler dom global js jsdelivr dist compiler dom global js but the filename in dist be compiler dom global js this pr adjust the name in package json close 3181
vuejscore
can not find dist compiler dom global js in vue
Bug
version 3 0 5 reproduction link step to reproduce open the url what be expect need an broswer version what be actually happen no unpkg
vuejscore
teleport multi root child component element be not be remove together with parent component
Bug
version 3 0 5 reproduction link step to reproduce 1 have a component a child component with multiple root element to somewhere in the body 2 trigger deletion of the parent component what be expect all trace of the teleport child element be remove what...
vuejscore
with a single empty child throw an error
Bug
version 3 0 5 also reproducible in 3 0 4 it work fine in 3 0 3 reproduction link arguably the example above be invalid because it use a single fix child inside a a more realistic example that exhibit the same problem would be in both case the problem go away if the em...
vuejscore
fix runtime core handle error in async watcheffect
Bug
close 3127
vuejscore
the error throw in async effect be not pass to the app config errorhandler
Bug
version 3 0 5 reproduction link step to reproduce javascript import createapp ref watch watcheffect from vue const app createapp setup const count ref 1 watch count throw new error error1 immediate tru...
vuejscore
transition with mode in out do not remove old element when no other element to transition in be present
Bug
version 3 0 5 reproduction link step to reproduce 1 press button toggle what be expect text toggle should disappear what be actually happen text toggle do not disappear I find this problem in a more complex constellation with vue rout...
vuejscore
seem like memory leak in ssr when runtime core throw an error
Bug
version reproduction link step to reproduce clone the repo follow the readme md to reproduce what be expect blockstack should be clear what be actually happen blockstack be not clear see for more detail
vuejscore
compute value become undefined inside onunmounted hook unless it s access before
Bug
version 3 0 5 reproduction link step to reproduce 1 go to codesandbox 2 open console window in codesandbox 3 first access home page then move to about page 4 you ll see computed value become undefined 5 if you un comment console log computedobj value ...
vuejscore
first import defineprop and defineemit compilation result exception
Bug
version vue 3 0 5 vue compiler sfc 3 0 5 vite 2 0 0 beta 44 reproduction link step to reproduce shell npm init vitejs app my app cd myapp npm install src component helloworld vue javascript import defineprop defineemit reacti...
vuejscore
duplicate key check do not work
Bug
version 3 0 5 reproduction link step to reproduce 1 click repoduction link 2 see console 3 click change button 4 see console what be expect should warn duplicate key what be actually happen no warning appear
vuejscore
global function will override local function
Bug
version 3 0 5 reproduction link step to reproduce the global function be in main js the same name local function be in helloworld vue the helloworld vue be async import use to simulate route what be expect local function should be execute what be actuall...
vuejscore
datum binding do not update for transpiled app
Bug
version 3 0 5 reproduction link step to reproduce 0 clone run npm I then npm run build in the clone repository 1 in the dist directory run python m http server then navigate to in your browser 2 choose add an item twice 3 for the second item ...
vuejscore
vite build generate srcset without space between source and resolution
Bug
version 3 0 5 reproduction link step to reproduce create a vite project make a landing page with an srcset tag and try to deploy it on netlify example srcset what be expect the page should load a different version of the image if you re on mobile ...
vuejscore
watch listen to compute and should not be trigger by ref in compute
Bug
version 3 0 5 reproduction link step to reproduce test case javascript it watch multiple source compute async let count 0 const ref ref 1 const compute compute ref value watch compute ...
vuejscore
compile error use slot inside component with specify lang of
Bug
version 3 0 5 reproduction link step to reproduce html what be expect vue compile with default template language what be actually happen vuecompilererror invalid end tag btw if attribute resemble be not allow the compiler s...
vuejscore
fix runtime core should call hook from chain mixin and extend
Bug
close 3038
vuejscore
the mixin create can t work when use both extend and mixin
Bug
version 3 0 5 reproduction link step to reproduce sfc what be expect console print out hello from mixin hello from extend what be actually happen console print out hello from extend vue2 x be correct ...
vuejscore
that shallowreadonly proxy of map call get will return a proxy
Bug
version 3 0 5 reproduction link step to reproduce const shallowreadonly isproxy vue let origin new map 1 a 1 let proxy shallowreadonly origin console log isproxy proxy get 1 what be expect return the origin object what ...
vuejscore
fix compiler sfc compiler blank srcset
Bug
fix
vuejscore
no ssr output from component return from definecomponent with extend or mixin
Bug
version 3 0 5 reproduction link step to reproduce 1 wrap a component with definecomponent call use either mixin or extend option 2 attempt to ssr the return component 3 observe that only a comment be render what be expect component extend with definecomponent...
vuejscore
fix compiler dom v bind work with html tag
Bug
close 3001
vuejscore
use quot in v bind in html strips html tag
Bug
version 3 0 5 reproduction link step to reproduce run the jsfiddle and see that the text be not bold here s the same sample in vue 2 where the text be bold
vuejscore
vue reactivity type unwrapping break class with private field
Documentation
version 3 0 5 reproduction link step to reproduce typescript import ref ref from vue reactivity class foo public bar 1 private baz a case 1 interface fooserivce readonly foo ref class fooserviceimpl implement ...
vuejscore
script setup compiler create wrong patch flag depend on style of variable assignment
Bug
version 3 0 5 reproduction link step to reproduce 0 clone run yarn and yarn dev in terminal 1 use assignment 2 to create reactive array name as receiveddata in app vue 2 click emit button on the page 3 dom view didn t update why as receiveddata...
vuejscore
compiler incorrect parse when string contain two closing brace
null
version 3 0 5 reproduction link vue 3 template explorer 7b 22src 22 3a 22 20 20 3cp 3e 7b 7b 20 24fm 7bservercount 2c 20plural 2c 20one 20 7bserver 7d 20other 20 7bservers 7d 7d 20 7d 7d 3c 2fp 3e 22 2c 22ssr 22 3afalse 2c 22options 22 3a 7b 22mode 22 3a 22module 22 2c 22prefixidentifiers 22...
vuejscore
fix runtime dom support mount app to svg container
Bug
close 2926
vuejscore
fix transformelement properly transform replace node
Bug
problem I be try to make a transform that use replacenode l189 to replace the currentnode with a new element node since I pass in my transform in transformoption nodetransform l143 it come after all the transform in basetransformpreset l25 which include transformel...
vuejscore
app instance can not render inside large svg
Bug
version 3 0 5 reproduction link step to reproduce 1 use createapp to encapsulate a element with child represent svg shape 2 mount the app inside an exist element what be expect the node add by vue app to the parent svg image should be instance of ...
vuejscore
discrepancy between code and documentation also header of app unmount
Bug
version 3 0 5 reproduction link unmount unmount step to reproduce the documentation as well as this header say that app unmount take dom element query string as an argument l32 unmount I don t think this make any sense the app be mount on a single ele...
vuejscore
can not read property 0 of null throw when append to empty array in slot content
Bug
version 3 0 4 reproduction link step to reproduce 1 open jsfiddle example link 2 open console 3 click add item button in example 4 see console exception uncaught in promise typeerror can not read property 0 of null what be expect I assume the box com...
vuejscore
unmount memory leak
Bug
version 3 0 4 reproduction link step to reproduce 1 click first button to create new vue app 2 click second button to unmout it and delete all pointer to that app 3 call garbage collector in chrome dev tool 4 create memory snapshot app be still in memory link f...
vuejscore
use slot in component be not work when use transition element
Bug
version 3 0 4 reproduction link step to reproduce change hastransition flage in todo vue you will see that what be expect I want transition element to be use with component that use slot what be actually happen as title
vuejscore
fix runtime dom ensure readonly type prop on textarea be handle patch as attribute close 2766
Bug
the type prop be readonly on textarea but writeable for other form input when swithce between different input element in dynamic component the renderer might attempt do unset the type attribute which throw when do through a domprop but silently fail as we want when do with setattribute so we wa...
vuejscore
bug with vue3 ssr and dynamic component
Bug
version 3 0 4 reproduction link step to reproduce see github repo readme md vue3 ssr dynamic component bug run yarn build ssr and node dist ssr asset server main html vue warn resolvecomponent can only be use in render or setup vue server rend...
vuejscore
an type error occur when build teleport use the
Bug
version 3 0 4 reproduction link step to reproduce 1 install dependency 2 run build script what be expect building success what be actually happen typescript throw the follow error semantic error ts2345 argument of type new prop vnodepr...
vuejscore
use reactive and shallowreactive on the same target return the same proxy for both call
Bug
version 3 0 4 reproduction link step to reproduce const origin const shallowproxy shallowreactive origin const reactiveproxy reactive origin console log shallowproxy reactiveproxy what be expect shallowproxy reactiveproxy what ...
vuejscore
kebab case event be attach as low case on web component
Bug
version 3 0 4 reproduction link step to reproduce open click the click low case button notice the text to the right of the button change to click low click the click kebab case button what be expect the text to the right of the button should c...