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

How to position elements for horizontal cascading pins. #291

Closed
fniwes opened this issue Apr 16, 2015 · 1 comment
Closed

How to position elements for horizontal cascading pins. #291

fniwes opened this issue Apr 16, 2015 · 1 comment
Milestone

Comments

@fniwes
Copy link

fniwes commented Apr 16, 2015

I have two scenes and a element, absolute positioned, that i want to have pinned across the two scenes.

While in first scene is everything all right, just at the moment that the second scene kickoff, the element goes off screen.

Here is a jsfiddle that mimics my setup http://jsfiddle.net/2rmhe9e9/2/

I know there is something wrong with my approach because, a similar setup, but vertical, is not working neither. I guess that the issue is with absolute positioning, but I am not sure and I don't know how to circumvent the issue.

Thanks for your help.

@fniwes fniwes changed the title How to position elements for a horizontal cascading pins. How to position elements for horizontal cascading pins. Apr 16, 2015
@janpaepke janpaepke added this to the v2.0.4 milestone Apr 21, 2015
@janpaepke
Copy link
Owner

Hi!
This actually does seem to be a bug, as your implementation is correct.
It might be a bit complicated to solve so in the meantime you can help yourself with this workaround:
http://jsfiddle.net/2rmhe9e9/4/

Essentially instead of positioning the pinned element absolute you make a wrapper around it and position it instead.

regards,
J

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

No branches or pull requests

2 participants