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
  • !1821

Don't show tooltip/popover if leave event occurs before delay expires

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/kmiyashiro/master into 2.0.1-wip Feb 08, 2012
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: kmiyashiro

Setting the delay to 1 second on a tooltip or popover means "don't show this tip unless the 'enter' event persists for 1 second straight". Currently, it just means whenever an enter event occurs, show the tip 1 second later no matter what. This can cause a lot of tooltip flashing that make no sense.

This change clears the setTimeout to show the tip if the hide event occurs before the delayed tip has shown.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/kmiyashiro/master