Problems with mouse events after version 4.1
Trying to do a little editor with KineticJs and updated to newest version from version 4.0.5. The mouse events started working very strangely and group elements are not found any more when trying to select them. This seems to be connected with text shapes. Selecting and moving around a text shape attached group makes all the other groups to lose events handling. Is this some kind of side effect of the new drawHitFunc possibility ? As said everything works ok with version 4.0.5. There is an attachment picture showing a problem case. After the text group is moved /selected the graphic group (rectangle) and the small reservation group (small see through rectangle) are not any more firing events and the text group is the only one that can be selected. So I think there must be something fishy going on with the new versons. Has anyone noticed same kind of problems?

Hi,
So I figured out the problem in my code. Seems to be something changed with the mouse event handling. Running this in Chrome. There is a small example on http://jsfiddle.net/SWj9m/20/. Just examine the event codes in javascript console.
So if I have to groups with rectangle shapes in them and I drag the one on top (in z-index). I get the mousedown event for it. When I end the drag so that the cursor is above the lower rectange (in z-index) I don't get the mouseup for the dragged element but the lower element that was not moved. So combinig this with some handling in code trusting the events you can get your application messed up for good. In earlier versions you go the mouseup event for the dragged element.