Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#15141 closed bug (notabug)

tooltip not open on change event

Reported by: raszagar Owned by:
Priority: minor Milestone: none
Component: ui.tooltip Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:


When input change event fired don't show tooltip.

View code:

<input id="input">

function showTooltip(){
  $('#input').attr("title", "Test");
  $('#input').tooltip("open"); //It don't open 

$(document).ready(function() {
  $("#input").on('change', function () {

Change History (2)

comment:1 Changed 6 years ago by Scott González

Resolution: notabug
Status: newclosed

That's because you're getting the change event at the time of blur and blurring an input will close the tooltip. This should help show you what's happening:

If you want to show the tooltip on change, you should use a timeout:

comment:2 Changed 6 years ago by raszagar

Thank you!

Note: See TracTickets for help on using tickets.