Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Drag components on iPad #2

Open
GoogleCodeExporter opened this issue Aug 16, 2015 · 3 comments
Open

Unable to Drag components on iPad #2

GoogleCodeExporter opened this issue Aug 16, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Load page 
2. Add component
3. Try to move component.

What is the expected output? What do you see instead?
I expect the component to move when dragged, but it does not.

What version of the product are you using? On what operating system?
Trial from project page, iPad2 latest iOS rev


Original issue reported on code.google.com by [email protected] on 8 Oct 2011 at 11:54

@GoogleCodeExporter
Copy link
Author

It may be because of the touch screen.I read here:

http://developer.apple.com/library/ios/#technotes/tn2010/tn2262/_index.html

about a touch interface and it says to use touch events in javascript,so I 
think adding these lines:


/*touchscreen events*/
    Event.observe(this.container, "touchmove", this.onDragListener); 
    Event.observe(this.container, "touchstart", this.onMouseDownListener);
    Event.observe(this.container, "touchend", this.onMouseUpListener);

to the source code in "schematic.js" will have some effect. Since I don't have 
an iPad I will have to wait for someone to verify the changes have a positive 
effect.

Original comment by [email protected] on 9 Oct 2011 at 8:45

@GoogleCodeExporter
Copy link
Author

I grabbed the source from SVN and didn't see these 3 lines in the schematic.js 
file, so I add them at line 80 under the Event.observers that are listed there 
and loaded it and got no response, I'll dig in and see if I can help find a 
solution.  Since I am sure I am not the only one who wants to use their 
iPad/mobile device to do this.

Original comment by [email protected] on 9 Oct 2011 at 3:18

@GoogleCodeExporter
Copy link
Author

Sounds good. If I like the changes I will add them to the repository and add 
your name or alias as a contributor in the source code if you want. 

Original comment by [email protected] on 9 Oct 2011 at 9:45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant