Skip to content

Clicking on GFM checkboxes does not work for deeply nested list items #569

@gabrieldeal

Description

@gabrieldeal

Clicking on deeply nested Github Flavored Markdown checkboxes toggles the wrong checkbox.

Expected Behavior

It should toggle the checkbox I click.

Actual Behavior

For deeply nested checkboxes, it toggles an ancestor checkbox.

Steps to Reproduce

  • One
    • Two
      • Three
        • Four
          • Five (clicking this checks & unchecks Four)
            • Six (clicking this checks & unchecks Four)

Click the checkbox for Five or Six. When I do this, it toggles Four.

Backtrace

None

Software Versions

  • Markdown Mode: 2.5-dev
  • Emacs: 26.1
  • OS: Ubuntu 16 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions