jraadt

Results 20 comments of jraadt

It doesn't work if any parent of the table has an `ng-if` directive. In your demo codepen I just added `ng-if="true"` to the `ng-card` element and it no longer works....

When the code was added to fix `ng-repeat`, you can no longer have the table inside an element with `ng-if`. Previous versions, like 0.1, work fine with `ng-if`. It seems...

My pull request #15 now allows a table's parent element to have ng-if, but I believe it still doesn't like a ng-if on the actual table. I haven't looked into...

@daniel-nagy I agree. As I was checking it in and adding `$mdSticky` to the injected items I realized that it didn't depend on Material. For some reason I just assumed...

@epelc Good catch...rookie mistake. I've pushed up a minified version now.

@epelc I just pushed up some fixes. It should work better for you now. I pulled down your codepen html and js into my local project and tested against that....

I'm running on Angular 1.4.8 and Material 1.0.8. Sounds like your $mdSticky isn't activating. Can you create a codepen?

@rafaelhc The entire page is scrolling. My solution works best when the md-content (inside the md-tab) is scrolling and the tabs and toolbar are fixed to the top. That's how...

@rafaelhc 1. It works with horizontal scrolling for me. You need to ensure the outside container that both the table and the fixed header are children of (md-content I believe)...

You want md-content to have the `overflow-x: auto` so the entire thing, including fixed header, can scroll. You don't want that inner scroll so set the md-table-container to `overflow-x: visible`....