Skip to content

Wrong input cursor position in bind:value with function bindings #14979

@henrykrinkle01

Description

@henrykrinkle01

Describe the bug

I notice that my input mask doesn't work correctly after updating Svelte to the latest version. I believe that the PR #14649 broke it.

Reproduction

Working:
https://svelte.dev/playground/625b571b573f4885a3549a59534c114e?version=5.10.0
Not working:
https://svelte.dev/playground/625b571b573f4885a3549a59534c114e?version=5.10.1

Logs

No response

System Info

N/A

Severity

blocking an upgrade

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions