learnrx icon indicating copy to clipboard operation
learnrx copied to clipboard

exercise 33 is broken

Open tadjik1 opened this issue 9 years ago • 8 comments

there is a problem with contactPoint event object — there are no offsetX and offsetY properties.

tadjik1 avatar Jun 15 '15 15:06 tadjik1

This is the case only in firefox. I got affected by this too, but it works correctly in Chromium. This seems to be not easily fixable: http://stackoverflow.com/questions/12704686/html5-with-jquery-e-offsetx-is-undefined-in-firefox http://stackoverflow.com/questions/11334452/event-offsetx-in-firefox

krivulcik avatar Jun 27 '15 17:06 krivulcik

Also see: http://www.quirksmode.org/js/events_properties.html#position

peteruithoven avatar Jul 27 '15 14:07 peteruithoven

I'm using Chrome and the results of exercise 33 is no different than exercise 32. No matter where the contact point is, the sprint still places itself so the mouse arrow is at the top left-hand corner. I clicked "Show Answer" before I ran it.

Is this a different issue? Am I the only one experiencing this?

gabrielkunkel avatar Jan 16 '16 01:01 gabrielkunkel

@gabrielkunkel I see the issue on Firefox but not on Chrome. You may want to refresh the page and run the exercise again in Chrome to discard any stale state in the application.

varungupta85 avatar Jan 22 '16 06:01 varungupta85

@gabrielkunkel PR #130 has a fix for that

mjomble avatar Jan 29 '16 02:01 mjomble

fixed by https://github.com/ReactiveX/learnrx/pull/130

morenoh149 avatar Jan 29 '16 16:01 morenoh149

It is possible the original problem is still unresolved, #130 only fixed the issue later mentioned by @gabrielkunkel

mjomble avatar Jan 29 '16 17:01 mjomble

When I run the answer (in chrome), the sprite disappears from the screen if I drag it

thomasvanlankveld avatar May 27 '16 14:05 thomasvanlankveld