Giter Site home page Giter Site logo

Comments (16)

leocaseiro avatar leocaseiro commented on July 18, 2024 4

I'm having the same issue.

I realized that because I'm using ui-router.

I simulate using ng-if and I could reproduce the same error: http://plnkr.co/edit/gb6MIbwF3lCXhx9GUCvZ

I believe if we fix with ng-if, it'll fix for ui router and so on.

UPDATE: What is interesting is if we remove the fix-head directive, the header shows on ng-if without any errors/warnings

from fixed-table-header.

mennya avatar mennya commented on July 18, 2024 3

It works this ng-show

from fixed-table-header.

egantz avatar egantz commented on July 18, 2024 2

Still happens, couldn't get to make it work :(

from fixed-table-header.

jraadt avatar jraadt commented on July 18, 2024 1

Yep I believe this is a duplicate of #7 . I've tried to fix it to no avail... :(

from fixed-table-header.

daniel-nagy avatar daniel-nagy commented on July 18, 2024

Have you tried reproducing this in a Codepen?

from fixed-table-header.

egantz avatar egantz commented on July 18, 2024

@leocaseiro Exactly. I am using ui-router in my app as well and I guess this is the reason why I couldn't reproduce this issue on codepen before. haven't thought ``ui-router` would cause the clash.

@daniel-nagy any ideas? :)

from fixed-table-header.

daniel-nagy avatar daniel-nagy commented on July 18, 2024

The fix-head directive doesn't work with ng-if at the moment. If I can find a way to make it work with ng-if it might fix this issue.

from fixed-table-header.

leocaseiro avatar leocaseiro commented on July 18, 2024

I've tried too, not luck.

from fixed-table-header.

jraadt avatar jraadt commented on July 18, 2024

I now have it working in my pull request #15 where a table's parent element can have an ng-if. I reworked fixed-table-header to use Angular Material's $mdSticky service, taking cues from md-subheader. Hope this helps.

from fixed-table-header.

lucasmaj avatar lucasmaj commented on July 18, 2024

Sill experiencing this issue. Was there ever a permanent fix?

from fixed-table-header.

panickerr avatar panickerr commented on July 18, 2024

@daniel-nagy Even i tired many fixes that were suggested in your Gist and what i knew but the header failed to remain static. Also when i use fix-head in the md-data-tables then the header name disappears.

from fixed-table-header.

mikila85 avatar mikila85 commented on July 18, 2024

same here please fix..

from fixed-table-header.

leocaseiro avatar leocaseiro commented on July 18, 2024

Has Anyone tried to implement with https://github.com/soenkekluth/sticky-state ?

from fixed-table-header.

egantz avatar egantz commented on July 18, 2024

@leocaseiro Yeah, didn't work for me. If anyone succeeds, please share. 👍🏻

from fixed-table-header.

jrcollins4 avatar jrcollins4 commented on July 18, 2024

Running into this issue as well. Using this with md-data-table v 0.9.4.

from fixed-table-header.

oviniciusfeitosa avatar oviniciusfeitosa commented on July 18, 2024

Didn't work for me too...

from fixed-table-header.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.