add option to disable moving the dom element #84
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey, I was trying to use tether with Ember.js and it works more or less fine. I encountered a problem while trying to test a component I made with tetherjs. The problem is that tether always moves the element to the body tag and I get why it does so (predictable positioning).
But when I am running the ember test suite it renders the ember application into a special container, and not like normally into the body tag. I need to be able to tell tether to stop moving the element during the tests, where the position isn't really important, because it breaks my app when it tries to move the element to the body tag.
As far as I am aware there is one more place where tether moves the element to the body tag, but that can be disabled by disabling the
moveElement
option.I am of course open to changing the name of the option or other suggestions you may have. This is just something that is really neccesary to be able to use tether at all in my app.