Skip to content

Conversation

@fabianhijlkema
Copy link

In my use case I'm centering pep elements with CSS transform (-50%, -50%), and positioning them absolutely using percentages (I'm doing this outside the plugin). Adding the following changes makes sure that while the elements stay in their relative position while resizing window or parent, they also work nicely with the constraint-option. Without these changes, this doesn't work well. I'm using this option with useCSSTranslation set to false, but it seems to override nicely when set to true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant