This project is archived and is in readonly mode.

#1238 ✓duplicate
Xandros

Tips.js display wrong tip in parent/child context

Reported by Xandros | June 7th, 2011 @ 06:48 PM | in 1.4.0 (closed)

When applying the Tips to a set of parent and child elements, where both have titles, there is an issue where the Parent tip is displayed instead of the child one.

http://jsfiddle.net/istrasoft/Xxm4J/

if you open the console, you see that if moving your mouse directly to the child element (without hovering the parent first), only the parent element gets printed to the console.

Adding a event.stop() in the elementEnter method in Tips fixes the issue, but it's just to make sure why the issue arises and not a valid fix IMHO, since it may break a use of onmouseenter not related to Tips.

Comments and changes to this ticket

  • Arian

    Arian June 11th, 2011 @ 03:44 PM

    • Milestone set to 1.4.0
    • State changed from “new” to “open”
    • Assigned user set to “Christoph Pojer”
    • Milestone order changed from “930” to “0”

    event.stopPropagation() could fix it, but like you said that could break other mouseenter events… needs further investigation.

  • Xandros

    Xandros July 5th, 2011 @ 02:33 PM

    Sorry I submitted this in Core and not More. I am resubmitting it in the right project

  • Christoph Pojer

    Christoph Pojer August 13th, 2011 @ 12:14 AM

    • State changed from “open” to “duplicate”

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages