Open njaldea opened 1 year ago
I think either one of the following should happen.
addColumnGutter
/addRowGutter
so it will cleanup the duplicates automatically. Though maybe this restriction might be good to be added in the documentation so users (me) would be informedThank you!
Please refer to reproduction below: Reproduction
It has two versions (Constructor and Api) both are doing the same thing:
For Constructor, it works fine (but i guess i am doing something I should not be doing) For Api, only the last div for track works (3rd div for column. and 3rd div for row 1 and row 3)
Constructor works because it does not "cleanup" duplicates.
if
gutterOptins.track
has duplicates, it does not destroy the previous one, though i guess, based on code, that i should not do this (?)For Api, it is a different story
Is it intentional that there can only be one element per track? My intention is to add an orthogonal control (so that intersection can control both directions at the same time when resizing)