angular-dynamic-layout
angular-dynamic-layout copied to clipboard
Question about width calculation
In position.service in getItemsDimensionFromDOM function, to calculate the width in this line, the marginRight is not being taken in account.
Is this a bug? there any reason for this? I tried to changed it to sum the marginRight in my code and is working better, I think. Previously I noticed that was always a space not being filled in the right but with the change that space is filled
Good question, I think the idea was not to account twice for the margin of two contiguous elements.