Hareeshchandera / jsplumb

Automatically exported from code.google.com/p/jsplumb
0 stars 0 forks source link

Add pointer-events to the properties of connection -- feature request #305

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Users of the jsPlumb library may need to explicitly specify value of the 
`pointer-events` property for the SVG elements that will be created by jsPlumb. 
In some cases user would need to pass mouse event though the transparent areas 
in the connection bounding box.

related discussion on google group: 
https://groups.google.com/d/topic/jsplumb/dGemNq8DOcM/discussion

related jsFiddles:

- an example where input is blocked: http://jsfiddle.net/a2aVf/2/
- workaround for setting `pointer-events` property on paint: 
http://jsfiddle.net/arasbm/7f8yY/2/

other related resources:

- https://developer.mozilla.org/en-US/docs/CSS/pointer-events
- http://www.w3.org/TR/SVG/interact.html#PointerEventsProperty

Original issue reported on code.google.com by ara...@gmail.com on 1 Jan 2013 at 1:17

GoogleCodeExporter commented 8 years ago
This is not a defect. I tried to find a way to set the type of this issue to 
feature request or enhancement but I could not access those settings even when 
I was reporting the issue. I think I dont have the rights to set/change the 
type and by default it is set to defect.

Original comment by ara...@gmail.com on 1 Jan 2013 at 1:21

GoogleCodeExporter commented 8 years ago

Original comment by simon.po...@gmail.com on 8 Jan 2013 at 8:02

GoogleCodeExporter commented 8 years ago
this is now in 1.4.0 development. also the default for connectors is to use 
'visibleStroke' rather than 'all'.

Original comment by simon.po...@gmail.com on 22 Jan 2013 at 6:36

GoogleCodeExporter commented 8 years ago
Awesome! As soon as I get a chance I will try 1.4, I cant wait :)

Original comment by ara...@gmail.com on 22 Jan 2013 at 6:52