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

added dismiss option for closing tooltips onclick

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/couchbaselabs/tooltip-dismiss-option into 2.0.3-wip Apr 13, 2012
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 4

Created by: BigBlueHat

This is actually most useful for popovers which inherit from Tooltip, so the change could be moved there if it is less useful on Tooltip, but figured someone might see the value on Tooltip as well.

There are cases where Popovers in my UI have a link in the content. The user is unable to reach the link before the popover disappears. Adding a delay merely turns it into a game to see just how quickly the user can make up their mind and click the link before it disappears. Hence the need for a dismiss option.

The current code only support a click dismiss option as that seemed to be the most likely action. If the user clicks outside the popover, it goes away.

Also, I've based this off of 2.0.3-wip, but if you'd rather it be based off master, just let me know.

Thanks.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/couchbaselabs/tooltip-dismiss-option