Giter Site home page Giter Site logo

angular-sticky-table-header's People

Contributors

2013gang avatar bcherny avatar blaisebaileyfinnegan avatar chriszheng81 avatar ninachen01 avatar ryancat avatar sachitp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-sticky-table-header's Issues

Initial Clone Sticky Table Header

I enjoyed the component, but to run, I had to add the line:

on: function () {
            scope.observeTr();
            scope.addEvents();
            scope.resetClone(); // Without this, the first clone is not done.
          },

The other events are ok, resize, changing table, only the bootstrap component, at least for me did not happen as it should.

It would be a bug?
Hugs

sticky-table-header mis aligns when the parent container is given some fixed width and not set to 100%.

When the parent where the sticky-table-header is included, is given a fixed width, the header comes out of the parent as the sticky-header gets positioned to "position: fixed" when user starts scrolling.

When the width of the sticky-header[ Lets say 1800px ] is more than the width assigned to the parent[ 1600px ] ,the sticky-header spills out of the parent and breaks the UI.

It works absolutely fine when the width of the parent is not fixed to some numbers[100%], but when the parent is given some width, it tends to break.

Header is misaligned when scrolling horizontally and vertically

To reproduce:

  1. Scroll down to enable sticky header
  2. Scroll horizontally to the right and scroll down more
  3. Scroll back horizontally all the way to the left (back at position 0)
    Result: Header is misaligned from the left

This may be related to or the same bug as issue #31

Cloned header doesn't respect table width

Actual: If a table has a width of 500px but the container has a width of 1000px, the header will be 1000px wide instead of 500px.

Expected: Header should be 500px wide

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.