Comments (2)
I have the same problem with a thead
and tfoot
inside a table
element because the directive template modify it. So it doesn't work at all.
How can I make this work?
from angular-sticky.
I've taken a look and with a few, what now seem like obvious, modifications I think I resolved the issue. I've haven't tested it, but at least the directive doesn't replace the element you've applied it to. But in theory it should work. I could be mistaken, but adding it to a table is a different ballgame.
Anyway, in version 0.4.1 it no longer get replaced. Good luck with the implementation though, hopefully it works out :)
Update:
I quickly tried it in a table, but like I said that quite hard. Also browsing the web there do not seem to be any easy and clean solutions.
A section
element however should work fine now.
from angular-sticky.
Related Issues (20)
- bodyEl.scrollTop is not a function error HOT 14
- layout breaks when using ng-show HOT 4
- prevent stacking of non-overlapping sticky elements? HOT 3
- elementWidth() HOT 3
- requires jquery even though you mention its a pure javascript implementation. HOT 3
- bug with width HOT 1
- Enable redraw method for directive HOT 1
- Immediately show sticky-element (bottom) HOT 7
- Not sticky when at top of page (window.scrollY = 0) HOT 2
- Angular 1.5.8
- Placeholder causes the window to scroll-down when using ui-bootstrap's popover HOT 3
- Page Jumps on click HOT 1
- Placeholder height doesn't change after dynamic height change of sticky element HOT 3
- We cannot update bower HOT 2
- Sticky element position don't rerendred on resize HOT 1
- z-index is always relative to 1039
- Want it Sticky only after scrolling past other bottom elements
- All the stack and collection demos are broken HOT 1
- Need help? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-sticky.