Skip to content

Link bubble: click outside no longer closes the bubble #5539

@mejo-

Description

@mejo-

Describe the bug
It's no longer possible to close the link bubble by clicking outside of it. Only clicking on another position in the document closes it now. This is particularly annoying in read-only mode when the document consists of only one link (or has very few lines afterwards).

To Reproduce
Steps to reproduce the behavior:

  1. Create a document, add a link, open the link bubble by clicking on the link
  2. Click anywhere outside the editor container and see that the link bubble doesn't close

Expected behavior
Clicking anywhere outside the link bubble should close it.

This is a regression from #5529, cc @max-nextcloud.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

☑️ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions