Schweigi/angular-gantt — pull request #39 by chexxor (2014-03-28 22:17:42+00:00)
Title: Move row z-index to top on hover too ensure its tooltip is above all.

Since we added priorities to tasks, the tooltip of a lower-priority task will appear underneath a higher-priority task. This patch fixes that by boosting the z-index of the task's row. If we boost the z-index of only the task, it causes the hovered task to jump above other higher-priority tasks in that row. I didn't want that.

I did some looking, and this appears to be a pretty good solution. Is it the best? That's hard to say. I welcome more ideas.

Another solution I considered was adding an `ng-mouseover` attribute to each task. Then, we can register a function with that event which will raise the z-index of only the currently selected task. We could implement this in a similar way to the `onTaskClicked` attribute of the Gantt directive to allow a user to do do additional stuff, such as changing its background color or something.