Sign in to follow this  

Drag'n'drop bug in CEF with JqueryUi sortable

Recommended Posts


i was working on an inventory system and wanted to use drag'n'drop like RPG inventory system, it's working on firefox, but doesn't work in game
do you know how to do a drag'n'drop
or tell me if i forgot something.

i included

            <script src=""></script>
        <script src="js/main.js"></script>

and just started a sortable with


function refreshSortableInventoryList()
    connectWith: '.item-cell',
    placeholder: '.item-sortable-placeholder',
    receive: function(event, ui) {

the rest of the code won't be interesting for debug.

Edited by soxzer

Share this post

Link to post
Share on other sites

It wont work this way, something to do with direct X. You can still do it by coding the drag and drop system yourself, by catching the mouse position and moving the object accordingly 

Share this post

Link to post
Share on other sites

Do you know what i have to do with direct X and if i can or if it needed to be done by Direct X themselve.

Have u got an example for a drag'n'drop without any JS drag event ? should i just do something like

On click -> take item under mouse pos -> follow mouse pos each clock -> at click on another case -> drop current clicked item in the case

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.