Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Contributor
OldDrunkenSailor
Posts: 6
Registered: ‎03-01-2011
My Device: Not Specified

MouseMove is dragging whole stage, how can I lock it down?

Hey, I feel al ittle dumb here, but I'm having a weird issue.

 

I'm using the WebWorks SDK for the Playbook (and jQuery 1.5) and whenever I click and drag the mouse instead of doing a mousemove action it is dragging my stage. Does anyone know how I can lock it down so it's executing a propper mousemove event? Thanks for the help!

Please use plain text.
Developer
tags07
Posts: 386
Registered: ‎12-12-2010
My Device: BB Style
My Carrier: Sprint

Re: MouseMove is dragging whole stage, how can I lock it down?

onmousemove event call preventDefault()

Please use plain text.
New Contributor
OldDrunkenSailor
Posts: 6
Registered: ‎03-01-2011
My Device: Not Specified

Re: MouseMove is dragging whole stage, how can I lock it down?

I was doing that, the problem, it seems was that even though I had my DIVs and Body set to 1024x600 I was needed to add margin: none; to the body's css. No idea why, but it defninitely solved the problem.

Please use plain text.