Hi there,
i have two containers inside a horizontal draggable Div. positioned by flex-box
inside the second Div i have some absolute positioned items that might be wider than said container.
it's trivial to get the widths of those elements. and set the right padding.
But when i start dragging that number is overwritten by draggable. i tried onPress, startDrag(). How do i set that Padding initially and persistently?
in the screenshots:
grey background: correct
blue background: incorrect after dragging
What am i doing wrong? how does draggable calculate its padding-right?
Sorry that i can't make a codepen, but its wip on an ongoing project