Skip to content

[shell] Init script affects the behavior of Anchor element #921

Open
@hanaTsuk1

Description

@hanaTsuk1

I noticed in init.ts that there's a click event listener on anchor elements, triggering a shell open.

I'm using Tiptap (a text editor), and there's a scenario where clicking on anchor elements during editing doesn't trigger default behavior. But now tauri directly invokes shell open.

Perhaps it would be beneficial to add some checks, such as whether the parent element is contenteditable or something

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions