Skip to content

Cannot Dismiss ToolbarBatchActions Overlay #2102

@dsamerotte

Description

@dsamerotte

We're porting an existing project to Svelte 5 and the latest versions throughout (e.g., carbon-components-svelte 0.82.4 ⇒ 0.87.6 and @sveltejs/kit 2.17.2) but are running up against an issue with ToolbarBatchActions. Specifically, once the batch action toolbar overlay becomes active, it cannot be dismissed, neither by clearing selected rows, nor by using the cancel button.

We reproduced the issue by creating a new SvelteKit project (npx sv create my-app), adding carbon-components-svelte/icons, importing css (all), creating two test routes with blank +page.svelte pages, and pasting the two ToolbarBatchActions examples from the docs into each, "Batch selection with batch actions toolbar" and "Batch selection with controlled toolbar." (The latter example overwrites the default cancel behavior.) Neither works, failing in the same manner as in our project.

We suspect this might be a Svelte 5 issue and see the, possibly related, #2033; however, we haven't had a chance to dig in further than that. We also haven't found any other potentially relevant bugs or release notes.

Let us know if you need any additional information. Thanks!

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