The <div>
content inside the <td>
element can be resized by dragging the bottom the of <div>
down to the <td>
below.
The <td>
element on the other hand, has the ng-mouseenter event that triggers the resizing of the dragged <div>
content.
Illustration:
1) myDiv
height inherits the size of <td>
element
+-------+
| myDiv |
| = |
+-------+
| |
| |
+-------+
2) When myDiv
is dragged to the <td>
element below, the ng-mouseenter
event of <td>
is triggered and multiplies the height of my myDiv
based on the number of <td>
's
+-------+
| myDiv |
| |
| |
| |
| = |
+-------+
The issue:
Since myDiv
is resized, and overlaps on top of the <td>
element, it seems that myDiv
prevents the ng-mouseenter
from firing as it resides on top of the element with the event. Thus, the use wont be able to decrease the size of myDiv
. Is there a way to trigger the event even with element on top of it?