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

feat(tooltip): arrow position #5502

Merged
merged 1 commit into from
Feb 22, 2016
Merged

feat(tooltip): arrow position #5502

merged 1 commit into from
Feb 22, 2016

Conversation

RobJacobs
Copy link
Contributor

  • Move arrow position style overrides to a class instead of inline styles. This will allow for consumers to position the arrow to suit their needs by setting margins on the arrow element.
  • Optimize when the positionTooltip function calls the positionArrow function. Now the arrow position will only be recalced when the tooltip placement changes.

Fixes #5464

Plunk with changes.

@wesleycho
Copy link
Contributor

LGTM

@wesleycho wesleycho added this to the 1.2.0 milestone Feb 22, 2016
- Move arrow position style overrides to a class instead of inline
styles.  This will allow for consumers to position the arrow to
suit their needs by setting margins on the arrow element.
- Optimize when the positionTooltip function calls the
positionArrow function.  Now the arrow position will only be
recalced when the tooltip placement changes.

Fixes #5464
Closes #5502
@RobJacobs RobJacobs merged commit fa17c48 into angular-ui:master Feb 22, 2016
@RobJacobs RobJacobs deleted the tooltip-arrow branch February 22, 2016 19:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants