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

Modal positioning fails after browser resizing #68

Closed
elidupuis opened this issue Aug 4, 2015 · 6 comments
Closed

Modal positioning fails after browser resizing #68

elidupuis opened this issue Aug 4, 2015 · 6 comments

Comments

@elidupuis
Copy link

I have a modal with the following positioning (using Ember Tether):

alignmentTarget='body'
attachment='top right'
targetAttachment='top right'

This renders the modal, as expected, in the top right corner of the screen. However, as soon as I resize the browser, the modal jumps to the top left of the screen and stays there.

Thoughts?

@chrislopresto
Copy link
Contributor

@elidupuis Do you have any errors in the console?

@elidupuis
Copy link
Author

@chrislopresto Nope. Console is clean.

@chrislopresto
Copy link
Contributor

I am not able to reproduce. Can you post more context?

@elidupuis
Copy link
Author

Hmmm. Just tried this again in a fresh project and I can't replicate it either 😦 I'll see if I can figure out what else could be going on.

@elidupuis
Copy link
Author

Looks like it was some stray CSS via a body > .ember-view selector (from my app) that was conflicting with the Tether positioning styles. So not a bug at all 😃

Sorry. Carry on.

@chrislopresto
Copy link
Contributor

That could certainly wreak havoc. Cheers.

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

No branches or pull requests

2 participants