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

Cant click on start button or confirm buttons on android or ipad #139

Closed
cesine opened this issue Feb 10, 2014 · 6 comments
Closed

Cant click on start button or confirm buttons on android or ipad #139

cesine opened this issue Feb 10, 2014 · 6 comments

Comments

@cesine
Copy link
Contributor

cesine commented Feb 10, 2014

No description provided.

@cesine cesine added the bug label Feb 10, 2014
cesine added a commit to cesine/SAILS that referenced this issue Feb 10, 2014
cesine added a commit to ProjetDeRechercheSurLecriture/OPrime that referenced this issue Feb 10, 2014
cesine added a commit to cesine/montage that referenced this issue Feb 10, 2014
@cesine
Copy link
Contributor Author

cesine commented Feb 10, 2014

the reject for user clicking cancel seems to be related to this kriskowal/q#238

cesine added a commit to ProjetDeRechercheSurLecriture/OPrime that referenced this issue Feb 10, 2014
@cesine
Copy link
Contributor Author

cesine commented Feb 10, 2014

@cesine
Copy link
Contributor Author

cesine commented Feb 10, 2014

It was the pressComposer in abstract-stimulus.js which was killing the tap events. maybe because of

            this.element.removeEventListener("touchstart", this, false);

Now to find a better example of a press composer, the example i had copy pasted was clearly not right..
http://montagejs.org/docs/event-handling.html

@cesine
Copy link
Contributor Author

cesine commented Feb 10, 2014

I tried adding an action event listener in the sails-stimulus.html but it wasnt getting fired because the element was 0px so back to the abstract-stimulus to see if i can add a press composer without removing listeners for touchend etc

@cesine
Copy link
Contributor Author

cesine commented Feb 10, 2014

cant click on stimui again...

cesine added a commit to ProjetDeRechercheSurLecriture/OPrime that referenced this issue Feb 10, 2014
@cesine
Copy link
Contributor Author

cesine commented Feb 14, 2014

I'm not sure what I did to make it work. I turned on a slew of options just to be able to advance stimuli, but the longPress doesnt ahve a targetElement :(

02-13 22:19:28.172: I/Web Console(23249): event {"detail":null,"cancelBubble":false,"returnValue":true,"srcElement":null,"defaultPrevented":false,"timeStamp":1392347968184,"cancelable":true,"bubbles":true,"eventPhase":0,"currentTarget":null,"target":null,"type":"longPress"} at chrome-extension://aphmmeknkgpkfbcooielhaljakpodcok/packages/oprime-montage@54a91ca/core/abstract-stimulus.load.js:1
02-13 22:19:28.172: D/CordovaLog(23249): chrome-extension://aphmmeknkgpkfbcooielhaljakpodcok/packages/oprime-montage@54a91ca/core/abstract-stimulus.load.js: Line 1 : targetElement null

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

No branches or pull requests

1 participant