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
Metamorph tags being inserted between li tags; breaks styling #1893
Comments
This is likely due to the use of It is likely zurbs css will have to be adapted. |
If you have no access to the CSS you can use the
|
Thanks guys, @stefanpenner was right, changing |
I think this needs to find its way into the guides, if its not already there... |
What about setting itemViewClass="Ember.View" on each helper? http://jsbin.com/adedag/53/edit |
@stefanpenner those metamorph tags breaks |
Update, the |
I'm trying to use Zurb Foundation's Clearing lightbox, and am running into a similar issue. Mien seems to stem from the JS's use of next() and prev(), not the CSS. Is there any better workaround than messing with the Foundation code? I know my model won't be changing, so it would be great if there was an option to skip the "metamorph" tags here... |
In the end I ended up using an Ember.CollectionView, which doesn't seem to litter metamorphs about. Based on this: http://stackoverflow.com/questions/11748164/ember-js-and-jquery-sortable-how-to-work-around-the-metamorph-scripts |
I ran into this today. This will no longer be an issue with HTMLBars, correct? |
@samselikoff correct |
Re @manoharank's question about fixing h1 + p {
text-align: center;
margin-bottom: 30px;
} to: h1 ~ p:first-of-type {
text-align: center;
margin-bottom: 30px;
} |
@MaxGabriel Nice |
FYI: this is fixed with the introduction of the |
Yeah this is still broken in Foundation 5. Foundation has even switched over to using nth-of-type, and messing with this didn't fix any of the grid layout problems. Anyone had any luck getting this to work? I'm on Ember 1.10 |
1.10 adds no extra elements, so not sure what the issue could be. |
Same, I also can confirm that Skeleton and Bootstrap responsive grids do not work with Ember-CLI current beta release of 0.2 with Ember 1.10. I don't have time now to post a JS fiddle or any of that but it's the same problem described here with every responsive grid I've attempted to use. |
can you provide an example? |
I'm not sure if this is an Ember issue or not, but I'm using Zurb Foundation's block grid to display a number of text areas. My template looks like:
In the rendered HTML there are metamorph tags in between each li. This is causing the output to look like:
If I remove all of the extraneous script tags using the Webkit Inspect it looks correct (see below), which makes me think it's an issue with having tags between li tags.
I noticed a number of closed issues around metamorph recently, is this already fixed?
Thanks!
The text was updated successfully, but these errors were encountered: