Uploaded image for project: 'Keikai'
  1. Keikai
  2. KEIKAI-719

hovering on dropdown menu triggers a tooltip

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.0.0
    • 5.12.2
    • None

      Steps to Reproduce

              <spreadsheet id="ss" width="100%" vflex="1"
                           showContextMenu="true" showSheetbar="true" showToolbar="true" showFormulabar="true"
                           showSheetTabContextMenu="true" src="${empty param.file?'/WEB-INF/books/blank.xlsx':param.file}"
                           ignoreAutoHeight="true"
              />
      
      1. open a font size drop down
      2. move out the mouse from the toolbar button
      3. hover on the dropdown menu, not on the font size button

      Current Result


      the tooltip appears

      Expected Result

      the tooltip doesn't appear. it should only appear when a mouse hovers over the toolbar button

      Root cause

      in zss.KToolbarCombobox,

      				if (_tooltip) {
      					let jqContent = jq(self.content);
      					jqContent.on('mouseover', function (evt) {
      						jqContent.tooltip('show');
      						jqContent.tooltip('update');
      

      self.content contains both .k-toolbar-btn-dropdown and dropdown-menu.

      Workaround


            DevChu DevChu
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: