This is a bit complex issue, so I created a plunker to demonstrate it. The main culprit of this behavior is the position: initial applied by me to the tooltip.
The only solution I have found so far, is not to immediately remove the tooltip in removeTooltip function but instead to $timeout the removal after say 10 milliseconds.
This is a bit complex issue, so I created a plunker to demonstrate it. The main culprit of this behavior is the position: initial applied by me to the tooltip.
The only solution I have found so far, is not to immediately remove the tooltip in removeTooltip function but instead to $timeout the removal after say 10 milliseconds.
http://embed.plnkr.co/0XjQ5dKkJcv5eQXlZAn4/preview