Skip to content

requireBorderCollapse causes infinite updates #2

@jrmoynihan

Description

@jrmoynihan

I just ran into a severe bug when using the requireBorderCollapse option. It appears that when enabled, one of the while loops in the component never ends, resulting in infinitely changing height to the CSS custom properties. This probably means than the calculation itself or exit condition is incorrect. I haven't walked through it yet to figure out exactly which line is the issue, however.

CleanShot.2023-11-07.at.10.52.12.2.mp4

Reproduction REPL:
https://svelte.dev/repl/d528940333b74791bb484e154a29eb76?version=4.2.2

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