Skip to content

Cards: Answer not showing (branch remains collapsed) #828

@RRoudt

Description

@RRoudt

Search first

  • I searched and no similar issues were found

What Happened?

When reviewing flashcards, I always have to manually expand the branch when showing the answer of a card (if I had it collapsed on the page). This is annoying as it makes a keyboard-driven practice session impossible. I have to use my mouse to expand the Card branch and show the answer:

Image

Reproduce the Bug

  1. Create a flashcard using the #Card tag; the block with the #Card is the front of the card, all its child blocks are the back of the card.
  2. Collapse the branch containing the flashcard, so only the front of the card shows (the parent block containing the #Card tag).
  3. Review the flashcards.
  4. Press Show answers
  5. See that the answer stays hidden as the branch is collapsed, so you have to press the expand button next to the parent block to show the answer.

Expected Behavior

It would be great if flashcards always showed the expanded branch upon showing the answers. Ideally, the flashcards would not listen to the collapse state and always show the answer (the branch of the card) fully expanded.

Files

No response

Browser, Desktop or Mobile Platform Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions