Skip to content

NativeSelect on:change event handler is called before value is updated #277

@vsergeev

Description

@vsergeev

What package has an issue

@svelteuidev/core

A clear and concise description of what the bug is

The on:change callback with NativeSelect is called before the binded value is updated. This differs from how Svelte handles <select>.

In which browser(s) did the problem occur?

Firefox

Steps To Reproduce

Reproduced here: https://stackblitz.com/edit/vitejs-vite-tfksaq?file=src/App.svelte

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

No

Relevant Assets

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomponentNew or changes to components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions