HTML Drag and Drop API

Game development with Board Game Arena Studio
Post Reply
User avatar
galehar
Posts: 136
Joined: 29 March 2015, 00:12

HTML Drag and Drop API

Post by galehar »

Hi,
My code (rftg) is using draggable, but it only works on Firefox. On Chrome and Edge, as soon as the card is dragged, it disappears. The studio doc suggests switching to direct html5 spec now. Do you know of a game available in studio which uses the Standard Drag'n Drop API, so that I can study how it integrates with the BGA framework?
Thanks.
User avatar
RicardoRix
Posts: 2548
Joined: 29 April 2012, 23:43

Re: HTML Drag and Drop API

Post by RicardoRix »

wiki wrote:Draggable is the component that supports drug and drop,
That's drug and drop, something completely different...

/Sorry - couldn't resist.
User avatar
Tisaac
Posts: 2743
Joined: 26 August 2014, 21:28

Re: HTML Drag and Drop API

Post by Tisaac »

I'll do some testing this week on that, I will keep you updated but it seems pretty straightforward to use.
User avatar
RicardoRix
Posts: 2548
Joined: 29 April 2012, 23:43

Re: HTML Drag and Drop API

Post by RicardoRix »

Once had problems with things disappearing during animations because I had some elements with css overflow: hidden
Post Reply

Return to “Developers”