Skip to content

Cards disappear on button press after moving from hand to pool #25

@matt-dray

Description

@matt-dray

For example, when pressing the 'suit' button:

  1. Drag a card from pool to hand.
  2. Drag it back.
  3. Press 'suit'.
  4. Card disappears.

Or when pressing the 'draw' button:

  1. Drag two cards from pool to hand.
  2. Drag one back.
  3. Press 'draw'.
  4. Returned card disappears and two new cards are drawn.

The card is being registered in the card count when you move it between pool and hand, but is not recognised as being part of the rank-list when you press buttons. This is probably related to the reactiveValues object; the card needs to be recognised as having returned to the pool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🃏 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions