Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7458805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T13:30:07+00:00 2026-05-29T13:30:07+00:00

I have a little mouse effect which draws on a canvas, however when the

  • 0

I have a little mouse effect which draws on a canvas, however when the mouse intersects with another dom element the browser has issues and doesnt cleanly follow the mouse, instead it gets confused and throws the co-ordinates off causing the effect to be unstable.

I have tried attaching the listener to the cnvas, the document and the window as my initial thought was to do with other events bubbling up and throwing things off but… no dice.

Have a look here and move your mouse over the edges of the layer:
http://jsbin.com/ofosur/9/edit#javascript,html,live

also it gets even stranger with a bit of rotaion added to the div:
http://jsbin.com/ofosur/8/edit#javascript,html,live

Thank you very much indeed for any help at all!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T13:30:08+00:00Added an answer on May 29, 2026 at 1:30 pm

    This function is getting called when the mouse enters that internal space which is restarting the brush stroke….

    function onCanvasMouseOver(event) {
        strokestart(event.clientX, event.clientY);
    

    comment out strokestart and it seems to work. hth

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

..got a tiny little problem with mouse position after resizing browser window. I have
I have little question about how web browser retrieve webpage? I know this User
Good day. I have little usage of Flash CS4, however i have to build
I have a little problem closing my dialog box in JavaScript/jQuery on mouse exit.
I have a little PHP application in which I am attempting to display Google
I’m a windows OS user and use sifr3, I have some issues. I. MOUSE
I have a timeline with little pins on it which when hovered over, slide
I have a little jQuery animation which fades in a link when hovering an
i have created a little slide show in jQuery. On clicking-n-dragging your mouse it
I have little knowledge of Flash but for a little Flash game I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.