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

Fix StackBlitz Popovers and Tooltips examples

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Julien Déramond requested to merge main-jd-refine-popovers-and-tooltips-examples-for-stackblitz into main May 27, 2022
  • Overview 7
  • Commits 5
  • Pipelines 0
  • Changes 10

Step 2 of https://github.com/twbs/bootstrap/issues/36391

This PR contains

  • New stackblitz option for the example shortcode
  • Rename js_snippet to stackblitz_add_js option for the example shortcode in order to identify easily what's related to StackBlitz
  • Rewrite the example shortcode's documentation and reorder the options
  • Hide the StackBlitz edit button of the first Popover example and use data-bs-title instead of title for the other Popover examples as discussed in https://github.com/twbs/bootstrap/pull/36127#discussion_r864266702
  • ⚠ Use data-bs-title instead of title for the Tooltip and Popover examples

Live previews

Popovers

  • Live Demo.
  • Custom popovers: popover's title is now displayed in StackBlitz but without the custom style (will be handled in another PR in step 3).
  • Dismiss on next click

Tooltips

  • Tooltips on links
  • Custom tooltips: displayed in StackBlitz but without the custom style (will be handled in another PR in step 3).
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: main-jd-refine-popovers-and-tooltips-examples-for-stackblitz