Skip to content

Disable Component Events During Page Editing #67

@0MUHAMMEDIRFAN

Description

@0MUHAMMEDIRFAN

Problem

While editing a page in the Frappe Studio editor, all component events (like button clicks, sidebar navigation, form input focus, etc.) are still active. This can lead to unexpected behavior, such as triggering backend logic or navigation while simply designing a page.

Suggestion

During page editing mode, please disable interactive events such as:

  • Button onClick events
  • Sidebar navigation clicks
  • Text and form input focus and typing
  • Any other UI-triggered logic or navigation

These interactions should be enabled only in production or preview mode, not during page editing.

Benefit

Disabling component events during editing improves the user experience and prevents accidental logic execution while designing pages.

Thanks for considering this improvement!

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