Skip to content

Configurable live-preview debounce duration #1960

Description

@FlxRobole

Currently, the update routine inside LivePreview.vue has a hard-coded debounce duration of 150ms.

While this value is sufficient for most scenarios, it can lead to frustration for content-heavy pages where (re-)loading the iframe can take up to several seconds. In this case, being able to slightly increase the debounce duration from inside the host application is much more convenient than having to hook into the re-render routine as outlined in the docs.

Goes along with statamic/cms#15150

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