Skip to content

[Bug]: Drag-to-reorder in embedded Bases task list works in Reading mode but not Live Preview #2196

Description

@jimbo108108

Bug Description

Drag-to-reorder (manual ordering) in a tasknotesTaskList Bases view does not work when the base is embedded in a markdown note viewed in Live Preview. The same view works correctly when the .base file is opened directly, and also works when the embedding note is switched to Reading mode. This suggests the drag events are being intercepted by the editor (CodeMirror) rather than an intentional limitation, since Reading mode renders embeds outside the editor and dragging works there.

Expected: dragging a task in an embedded Task List view (sorted by the manual-order property) reorders it, the same as in the directly opened base.

Actual: in Live Preview, dragging does nothing; no reorder occurs and tasknotes_manual_order is not written.

Steps to Reproduce

  1. Create a .base file with a tasknotesTaskList view sorted by the manual-order property (column: tasknotes_manual_order, direction DESC).
  2. Open the base directly and confirm drag-to-reorder works.
  3. Embed the view in a markdown note with ![[Tasks.base#Today]].
  4. With the note in Live Preview, try to drag a task in the embedded view. Nothing happens.
  5. Switch the same note to Reading mode. Drag-to-reorder now works.

TaskNotes Debug Info

  • TaskNotes: 4.11.1
  • Obsidian: 1.12.7
  • OS: macOS (Darwin 25.6.0)

Relevant Bases File Content

views:
  - type: tasknotesTaskList
    name: Today
    filters:
      and:
        - status != "Completed"
        - or:
            - due <= today()
            - priority == "High"
            - scheduled <= today()
            - priority == "Highest"
    sort:
      - column: tasknotes_manual_order
        direction: DESC

Relevant Settings or Customizations

  • Custom status values (e.g. Completed) and priorities via field mapping; manual-order property is the default tasknotes_manual_order.
  • Reproduced with the view embedded via ![[file.base#View]] in a daily note.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions