www.webdeveloper.com
Results 1 to 2 of 2

Thread: [RESOLVED] jQuery UI Tooltip opens on changing content

  1. #1
    Join Date
    Apr 2013
    Posts
    3

    resolved [RESOLVED] jQuery UI Tooltip opens on changing content

    I've found a bug in ui.tooltip: tooltip interrupts closing if its content is changing. Here is example.
    Please help me to make proper test, this one fails from time to time on "tooltip was hidden too early":
    PHP Code:
    asyncTest"content: change while close", function() {
        
    expect);
        $.
    fx.off true
        
    var tooltip,
            
    hidingDuration 20,
            
    element = $( "#tooltipped1" ).tooltip({
                
    hidehidingDuration
            
    });

        
    element.tooltip"open" );
        
    tooltip = $( "#" element.data"ui-tooltip-id" ) );

        $.
    fx.off false;
        
    element.tooltip"close" );
        
    setTimeout( function() {
            
    oktooltip.is":visible" ), "tooltip was hidden too early" );
        }, 
    hidingDuration 10 );


        
    setTimeout( function() {
            
    ok( !tooltip.is":visible" ), "tooltip doesn't hid properly" );
            
    start();
        }, 
    hidingDuration 10 );
    }); 

  2. #2
    Join Date
    Apr 2013
    Posts
    3

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles