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 7548591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:44:13+00:00 2026-05-30T09:44:13+00:00

The issue I’m seeing is that mouse over events don’t seem to bubble when

  • 0

The issue I’m seeing is that mouse over events don’t seem to bubble when I do something like:

<div data-bind='events: {mouseover: someFunc, mouseout: someOtherFunc}'>
    <div data-bind='text: someText'></div>
</div>

What I’m seeing is when I initially hover, the someFunc function fires (i’m using these functions to apply a class to get a hover effect). However, when my cursor enters the inner div, my mouseout function fires, even though the mouseover event should bubble from the inner div to the outer div.

This fiddle demonstrates the issue:
http://jsfiddle.net/cSBcC/1/

In the fiddle, just try mousing over the various li’s and when the cursor gets into the inner div the “hover” class is removed, even though we are still mouseover on the li.

Any ideas?

  • 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-30T09:44:14+00:00Added an answer on May 30, 2026 at 9:44 am

    If you are referencing jQuery (which you are), then you can use mouseleave instead of mouseout as it will behave like you are expecting.

    mouseout events fire even when moving from an outer element to an inner element.

    Here is your sample using mouseleave: http://jsfiddle.net/rniemeyer/KUNcf/

    The other option is to just use CSS and remove the event binding like: http://jsfiddle.net/rniemeyer/KUNcf/2/

    li.name:hover {
        background-color: yellow;        
    }
    

    ​

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

Sidebar

Related Questions

Issue What is your strategy for building a desktop-like webapp that needs to be
The issue that prompted me to ask this is a web form that was
Our issue is that our project has files being downloaded using wget to the
Issue is that I have wrote a method to duplicate selected row in a
Issue: An issue exists whereby I cannot access my Self Hosted ADO.NET Data Services
Issue I want to implement TransparencyChecker Interface which would verify that from any exchange
ISSUE: code that worked to close and destroy a cfwindow after form submit -
Issue Seems like the condition gets ignored. Here is my scenario: Source class public
issue i've seen all over the web.. have a cool piece in Adobe Illustrator
Issue I'm having is returning some data in a sidebar depending on which category

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.