jjallaire / draftpod

Draft simulator for Magic the Gathering
https://draftpod.org
MIT License
36 stars 7 forks source link

Drag & Drop fails when Dropping on Previews #84

Closed tdnzr closed 2 years ago

tdnzr commented 2 years ago

I like the draft previews on draftpod.org, and prefer them to the way e.g. draftsim depicts stuff.

The problem: In contrast to e.g. MTGA, I cannot drag & drop my cards around as I want, because the card previews get in the way. One basically can't drag a card and drop it one column to the right, because that would drop it onto its card preview.

Here's a gif to illustrate this problem.

Desired behavior: Ability to drag & drop even on top of card previews.

EDIT: In case this problem is browser-dependent, this happened on desktop Firefox, v96.0.3.

jjallaire commented 2 years ago

Thanks for reporting this! Should be fixed here: https://github.com/jjallaire/draftpod/commit/af8d23a41af0b6657c7236a3be3e37c3ae8761b1

I hadn't seen this before b/c it doesn't occur in Chrome, however I was able to repro (and verify the fix) in Firefox