Skip to content

Selected text changed even no changed event triggered #1962

@mukund-indianic

Description

@mukund-indianic

When I add custom data-content and nee to add link on the content, its not working. When I click on the content link, event after adding e.preventDefault() & e.stopPropagation(); it updates the selected item, which should not.

e.preventDefault() & e.stopPropagation(); prevents the closing of selection box but item gets selected that is wrong.

Check the demo here:
https://codepen.io/mukund-topiwala/pen/QrwyGJ?editors=1111

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