Thanks to visit codestin.com
Credit goes to github.com

Skip to content

InputMenu emit order #4664

@Oui-Dev

Description

@Oui-Dev

Environment

Is this bug related to Nuxt or Vue?

Nuxt

Version

v3.3.3

Reproduction

https://codesandbox.io/p/devbox/nuxt-ui-select-reproducible-forked-2238hh?workspaceId=ws_66GCezx3N94KbEtkfR1vKb

In my reproducible I use Nuxt V4 but it's the same behavior with Nuxt V3

Description

Actually the create emit is triggered after the change one, so it make some strange reactivity issues (because we rely on the change event for our server updates in some cases), actually we simply put a setTimeout on the change emit as a workarround but I didn't think it's a good solution 🥲

I think there is the same issue on the SelectMenu too (I haven't tested it)

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting initial review and prioritizationv3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions