vue-kbar icon indicating copy to clipboard operation
vue-kbar copied to clipboard

[Bug] Global Actions disappear when using dynamically registerered components

Open MCYouks opened this issue 3 years ago • 2 comments

Hi everybody,

When using dynamically registered components, some globally registered actions disappear.

In my case, when the value of the actions computed property changed to an empty array, some actions are randomly removed (even globally registered ones) and no error is prompted.

MCYouks avatar Feb 03 '22 10:02 MCYouks

Are you using the same id across different actions?🤔 May you provide a codesandbox or something to re-produce this?

LiuJi-Jim avatar Feb 10 '22 03:02 LiuJi-Jim

@LiuJi-Jim I'm encountering a similar issue when dynamically adding actions which contains a parent action. Here is a reproduction on the Vue playground. You can trigger the issue, by uncommenting the parent property in RandomComponent.vue.

Elliot67 avatar Jan 03 '24 14:01 Elliot67