Skip to content

{#await then} not working properly with slot props #9058

@aradalvand

Description

@aradalvand

Describe the bug

In the following example, the physicalWidth inside the {#await} block isn't updated (see the REPL linked below).

<Wrapper let:physicalWidth>
    {physicalWidth}
    {#await getWhatever() then result}
        {physicalWidth}
    {/await}
</Wrapper>

Reproduction

https://svelte.dev/repl/d0732e9de86747f7981fd11d575177ac?version=4.1.1

Logs

No response

System Info

-

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