use offsetWidth and offsetHeight to handle zooming#51
Conversation
previously if the node was created in a zoomed container, it would be incorrectly sized
|
@aloisklink @sidharthv96 any opinion on this? |
|
Fwiw we're using that change successfuly in the Angular Devtools. |
Unfortunately, I've never use From what I'm reading in https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model/Determining_the_dimensions_of_elements, I'm a bit worried that this might cause a breaking change if somebody sets IMO, maybe it's worth merging this and releasing it, and we can always revert it if anybody complains about the new behaviour. |
|
Let's go then ? |
superseeds angular#66229 This also removes the dagre-d3-es patch as it was merged upstream (tbo47/dagre-es/pull/51)
superseeds angular#66229 This also removes the dagre-d3-es patch as it was merged upstream (tbo47/dagre-es/pull/51)
superseeds angular#66229 This also removes the dagre-d3-es patch as it was merged upstream (tbo47/dagre-es/pull/51)
superseeds #66229 This also removes the dagre-d3-es patch as it was merged upstream (tbo47/dagre-es/pull/51)
previously if the node was created in a zoomed container, it would be incorrectly sized