Closed yoannmoinet closed 2 years ago
Fixes https://github.com/yoannmoinet/nipplejs/issues/181
When the parent is display: flex somehow the offset is wrong. I suspect that the context of the getBoundingBox is inexistant in flex mode.
display: flex
getBoundingBox
flex
The solution would be to remove that offset when we detect that the parent is display: flex.
Fixes https://github.com/yoannmoinet/nipplejs/issues/181
When the parent is
display: flex
somehow the offset is wrong. I suspect that the context of thegetBoundingBox
is inexistant inflex
mode.The solution would be to remove that offset when we detect that the parent is
display: flex
.