ahgittin commented on pull request #227:
URL: https://github.com/apache/brooklyn-ui/pull/227#issuecomment-865855953


   the z-order / button clickability bug goes away if we reverse the order of 
the nodes, eg d3-blueprint.js line 549 add `.reverse()`:
   
   ```
   _d3DataHolder.nodes = root.descendants().reverse();
   ```
   
   this is because svg layers things in the order they are listed.  so without 
this the bottom row of buttons is logically on top of its parents `g` element.  
`foreignObject` seems to transcend this in some ways but not completely.  
painting the things bottom-first means the foreignObject is above the children 
nodes by all modes of reckoning.
   
   (unfortunately this doesn't fix any of the safari issues, and i've noticed 
one more nasty one:  sometimes the tab can hang trying to render the popup.  
only solution i know of is to kill and restart safari!  even stronger evidence 
it's a nasty bug in safari, so not worth _our_ trying to fix it, unless we 
stumble on an easy fix, but hopefully will be fixed in safari/webkit soon!)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to