Skip to content

Allow function in offset option for Tooltips and Popovers #24223

Description

@Johann-S

Popper.js allow to pass function to this parameter it'll allow folks more flexibility on how they handle their offsets.
See : https://popper.js.org/popper-documentation.html#modifiers..offset.fn

  • Dropdown
  • Popover/Tooltip

Related to #24208
/CC @romanlex

Activity

  1. added
    featureNew feature, or a change to how an existing one works
    jsJavaScript or TypeScript sources and plugins
    v4v4, the frozen docs on gh-pages
    on Oct 3, 2017
  2. jgolieb commented on Jan 25, 2019

    @jgolieb
    Contributor

    The fix for #24222 only applied to dropdowns. Can we reopen this issue to get the same offset function support for tooltips and popovers?

  3. Johann-S commented on Jan 28, 2019

    @Johann-S
    MemberAuthor

    You're right @jgolieb 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature, or a change to how an existing one worksjsJavaScript or TypeScript sources and pluginsv4v4, the frozen docs on gh-pages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions