Skip to content

Switching editor takes priority over (un)fold button #2950

@Flexo013

Description

@Flexo013

Current behavior

On a markdown note clicking the fold or unfold arrow causes a switch to editing mode rather than just folding or unfolding.
image

Expected behavior

The editor mode should not be switched to when clicking the (un)fold arrow.

Small side note: Performing a long click on the arrow does perform the expected behavior.

Steps to reproduce

  1. Have a markdown note, with a fold HTML block.
<details><summary>Test summary.</summary>
Test body
</details>
  1. Make sure to use the toggle mode view (not the side by side view).
  2. Click the (un)fold arrow.
  3. It switches to the editor mode.

Environment

  • Version : 0.11.15
  • OS Version and name : Windows 10 and Ubuntu 16.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Issue concerns a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions