Skip to content

Commit

Permalink
Fix transition issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sih44 committed Sep 28, 2017
1 parent c8bb1ea commit 316f6ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/tippy.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ class Tippy {

// Wait for popper's position to update
defer(() => {
if (!isVisible(popper)) return

// Sometimes the arrow will not be in the correct position, force another update
if (!followCursor || Browser.touch) {
data.popperInstance.update()
Expand Down

0 comments on commit 316f6ef

Please sign in to comment.