0

Safari DragAndDrop hover callback

The hover callback for Safari is not being fired.

Is there a better place for me to file bug reports?

Alex

2 Replies
  • QUOTE (alexandermaccaw @ Jun 9 2009, 03:07 AM) <{POST_SNAPBACK}>
    The hover callback for Safari is not being fired.

    Is there a better place for me to file bug reports?

    Alex


    Alex, this is the place for bug reports.

    Why do you think the hover callback is not being fired? Can you put a console.log() or alert() statement in hover to confirm. If you are updating part of the web page on hover, note that Safari needs to be forced to update the screen. We usually have a "repaint" method for this purpose:

    CODE
    function repaint()
    {
    var el = document.getElementById("some_id");
    var x = document.createTextNode(".");
    el.appendChild(x);
    el.removeChild(x);
    }


    Hope that helps,

    Steve
    0
  • It seems to be fixed in Safari 4.

    I'll try your suggestion on the old Safari - I was updating a border color (but not forcing a redraw).

    QUOTE (steven_spencer @ Jun 9 2009, 08:17 AM) <{POST_SNAPBACK}>
    Alex, this is the place for bug reports.

    Why do you think the hover callback is not being fired? Can you put a console.log() or alert() statement in hover to confirm. If you are updating part of the web page on hover, note that Safari needs to be forced to update the screen. We usually have a "repaint" method for this purpose:

    CODE
    function repaint()
    {
    var el = document.getElementById("some_id");
    var x = document.createTextNode(".");
    el.appendChild(x);
    el.removeChild(x);
    }


    Hope that helps,

    Steve
    0
This forum is locked.

Recent Posts

in Support & General Questions