-
Notifications
You must be signed in to change notification settings - Fork 28
2.2.4 broke all events #97
Comments
Hi @andreypopov, Is there anything special in that example svg of yours? It would help if you shared your simplified flow, because now it is e.g. not clear to me whether you are talking about events or JS events? I did a simple test for a normal event using this flow:
And then the output message seems correct to me: Can you explain a bit more about what is going wrong? |
when you click on path element there is no data-event_click attribute on it
|
I think I found the root cause.
Would be nice if you could install my fix and test it (before I publish it on npm):
|
Hi @andreypopov, |
Nothing works, reverted to 2.2.2 |
Well that is a bit too much to solve in my limited spare time. In that case there won't be ever a 2.3.0 version of this node... |
@andreypopov, |
@andreypopov, |
Due to lack of response, I have tried to figure out on my own what "nothing works" could mean... I 'assume' it means that a single click does not work anymore when also a double click event handler has been specified. This is now hopefully fixed by commit da3d145. Reminder for myself next time: I have tested this now by following flow, which contains all combinations that I am aware off at this moment:
For every circle there should be a test executed both by double clicking it and by single click it. The test should be repeated twice for all circles: one with the checkbox "Don't send click events in case of a double click event" activated, and afterwards again deactivated. |
2.3 works:) but returned right menu bug |
Event click has occured
No user data available for this click event
Example:
<g id="wb-mr6c_23-K5" class="bulb box p-middle" data-status="s0" transform="translate(100 98)"> <rect x="0" y="10" width="65" height="65" fill-opacity="0" stroke-opacity="0" /> <g transform="matrix(0.55 0 0 0.55 0 0)"> <path d="M24.043 58.233c-0.631 13.205 5.858 24.94 15.957 31.701v14.066h40v-14.066c9.647-6.458 16-17.453 16-29.934 0-20.264-16.742-36.617-37.148-35.982-18.625 0.579-33.919 15.603-34.809 34.215z" /> <path d="M40 112.16c0 8.749 7.091 15.84 15.84 15.84h8.32c8.749 0 15.84-7.091 15.84-15.84v-0.16h-40v0.16z" /> </g> </g>
Issue ie somewhere here:
The text was updated successfully, but these errors were encountered: