Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pep + absolutely positioned elements = disaster #203

Open
ScottBeeson opened this issue May 19, 2017 · 3 comments
Open

Pep + absolutely positioned elements = disaster #203

ScottBeeson opened this issue May 19, 2017 · 3 comments
Labels

Comments

@ScottBeeson
Copy link

Has anyone else experienced this? Here is a Stack Overflow question about it: http://stackoverflow.com/questions/44075838/pep-js-constrain-to-parent-breaks-absolutely-positioned-elements

@ScottBeeson
Copy link
Author

If you position absolutely using left instead of right it seems to work fine.

@seanCodes
Copy link
Collaborator

Looks like that SO question was moved... 😕 Do you have a jsfiddle or codepen link demoing the issue?

@ScottBeeson
Copy link
Author

No, but it's easily reproducable. Any element that is absolutely positioned using right: ##px will break because pep calculates everything from the left.

@seanCodes seanCodes added the bug label May 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants