Jump to content

Drag and drop problem with Chrome only on Mac


hit2501
 Share

Recommended Posts

 

Hi everybody!

 

I did a configurator for prefabricated houses: http://concept.wec360project.se/arholma10n.php

 

It works fine on Chrome for Windows, Firefox and Safari but the drag and drop function its not working on Chrome for Mac.

 

Here is a video where you can check how it works on other browsers:

Here is a video with the errors:

 

I had the same issue in Internet Explorer but I fix it (just for IE) changing:

src = evt.dataTransfer.getData ("text / plain");

for:

src = evt.dataTransfer.getData ("text");

 

but on Chrome for Mac this only let me put the first model of window and first model of door (other windows, doors, color function, roof function dont work).

 

I asked a friend in other country to prove it because I dont have mac equipment (its hard to find in my country).

 

How can I fix the drag and drop function for Chrome for mac?

 

Thank you all in advance.

Link to comment
Share on other sites

Hey hi,

 

I don't have a solution but it looks pretty cool, good job! I don't have a mac to test it so I am probably no big help anyways but maybe you can create a playground that shows the problem reduced to its core. That way people with a mac can check it out and try to find the problem aaalllooottt easier.

Link to comment
Share on other sites

Well, I am actually not talking about uploading the whole thing. I was more thinking about recreating the problem on the playground (yeah that might be some work :P ). So go to the playground - here is the link for convenience: http://www.babylonjs-playground.com/ - and create a simple drag and drop example the same way you use it in your project. Then test it on your mac/chrome to make sure the problem happens there, too, and then show us. If you can't recreate the problem in the playground independently from your project you still might get some clues (or at least know it's not the drag and drop itself but maybe something else). Maybe it's a browser/mac issue that can't be fixed by babylon js but has to be taken care of by the people at apple or google. Or you realize that it works perfectly fine in the playground when you separate it from the rest of your project, then you at least know it's possible and the error must be somewhere else ;)

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...