Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Tooltip (with wrapping content) on form-control-feedback incorrectly positioned (as of 1.2.0) #6078

Open
@scottohara

Description

@scottohara

Bug description:

The position of a tooltip on a form-control-feedback element in an input field changed in UIBS 1.2.0.
Curiously, it is only a problem if the tooltip content wraps over 2 lines.

In the plunker below, the UIBS version is initially set to 1.1.2. There are two inputs with "refresh" icons to the right. Hover over each icon and note that the tooltip appears directly above the icon.

Now change the UIBS version to 1.2.0 (i.e. change the src from "https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.1.2/ui-bootstrap-tpls.js" to "https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.2.0/ui-bootstrap-tpls.js")

Now note that the first tooltip is no longer correctly aligned with the icon (yet the second, non-wrapping one is still correct).

Link to minimally-working plunker that reproduces the issue:

https://plnkr.co/edit/obNMnfxwKdm6TnYdj6bz?p=preview

Version of Angular, UIBS, and Bootstrap

Angular: 1.5.6

UIBS: 1.1.2 vs 1.2.0

Bootstrap: 3.3.6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions