Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !3550

Clear tooltips delayed show timer when leave event is triggered. ALSO when hide delay is 0.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/jorgenfb/e388a5e475867cd266d58caf83b614aafe06cc10 into master May 20, 2012
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 2

Created by: jorgenfb

Cancel running timer for tooltips with delayed show, but instant hide. This prevents delayed tooltips from appearing if the mouse leaves the elements before tooltip is showed and the hiding delay is 0.

Unit test "should not show tooltip if leave event occurs before delay expires, even if hide delay is 0" is provided in bootstrap-tooltip module.

Error is reproduced like this: $(...).tooltip({delay: {show: 1000, hide: 0}});

Now let the mouse enter en leave the element within 1 second. The tooltip shows up after 1000 ms anyway.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/jorgenfb/e388a5e475867cd266d58caf83b614aafe06cc10