Skip to content

Console warnings on client showing div with zero negative height #291

@cliffordkleinsr

Description

@cliffordkleinsr

Describe Your Error

When mounting any chart I get the following error on the console from the client:

client.js?v=3aef0bf5:2692 [LayerCake] Target div has zero or negative height. Did you forget to set an explicit height in CSS on the container?

client.js?v=8ae4c4ed:2692 [svelte] reactive_declaration_non_reactive_property
A `$:` statement (node_modules/​layercake/​dist/​LayerCake.svelte:225:1) read reactive state that was not visible to the compiler. Updates to this state will not cause the statement to re-run. The behaviour of this code will change if you migrate it to runes mode

Supporting Attachments

image

This error bloats the client console with successful reloads.

Severity

Annoyance but can be ignored

Package versions

node: v22.11.0
bun: 1.1.38
layerchart: "^0.59.5",
"svelte": "^5.5.3",
"svelte-check": "^4.1.1",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions