Skip to content

Text selection popup doesn't always go away when the text is unselected #30

@joeltg

Description

@joeltg

When viewing a pub, the text selection popup (with "commend" and "copy permalink" buttons) doesn't always disappear when the selection changes. This is only in Chrome and Safari, not Firefox.

When selecting text
Screen Shot 2019-10-29 at 2 50 27 PM
If you click on e.g. another line far away, the text is unselected and the popup disappears. But if you click exactly on either the focus or anchor of the selection (which is common since the mouse is always over the focus right after making the selection), then the text is unselected but the popup doesn't disappear.
Screen Shot 2019-10-29 at 2 50 34 PM
The popup does goes away with an additional click.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions