Fixed #487, a scroll container bug that existed since 2015 :)
Typescript types were added and fixed
Fix jQuery 3+ warnings
Fix typescript defs
The Covid Release
bug fixes:
- #454 - Fix destroy function when using autoReflow with multiple tables
new features:
- #445 - Support hidden columns in tables that have an existing colgroup
- #458 - TypeScript definitions
This release is dedicated to my cat. May he rest in catnip and meats.
new features:
- Added
ariaLabel
function to the config object to give more flexibilty on the values the plugin uses. (doc site updated).
bug fixes:
- #432 - Improve RTL support.
- #440 - Aria label does not work with quotes.
Maintenance release.
bug fixes:
- #409 - inf recursion printing on FireFox
- #385 - bottom offset not respected in 'absolute' mode
- #303 - scrollContainer with other content inside wrapper, header won't scroll out
- #424 - table header fractional width set incorrectly.
Maintenance release.
bug fixes:
- #363 - scroll container assigned incorrect width because of a jquery 3.2.0 bug
new features:
- bad rtl support (only works with internal scrolling, not window scrolling)
I goofed, forgot to build dist last release.
- Removed 'floatContainerOverflow' option, removed
overflow-y:hidden
css from scrollContainer.
- #402 HUGE performance improvement if plugin used on multiple tables on the same page. Over 10x faster startup time on a page with 39 tables. Big props to @ineuwirth for finding this one!
On a side note, the last release was exactly one year ago. I didn't do this on purpose :)
new features:
- #404 - Adding a 'floatContainerOverflow' option to govern floatContainer CSS
- #402 - performance improvement with many tables on the same page
bug fixes:
- #391 - Fix printing on firefox
- #399 - Set header size on reflow
- #361 - Works better on iPad Retina
- fix issue with horizontal scrollbars + reflow breaking header position #345, #355
version skipped because of an npm snafu
Breaking changes:
- slim version no longer provided. Will use underscore, or shim the things we need
- removed allowing deprecated options from 1.3.x
- moved development version into /src dir and no longer use grunt here
nothing big and exciting in version 2, just semvar and breaking changes.
bug fixes:
- #348 - headers Stay stuck after reposition
- commonjs support works now, i promise
- #334 - fix memory leaks from print events
- #335 - absolute position on overflow scrolling was broken if used with
top
option - added rudementary commonjs support to require jquery
- #323 - use css transform (GPU) to float the header. (IE9+)
- #325 - fix bug introduced in 1.4.3 which caused issues on lots of resizing
- #327 - fix bug where reflowed event was being unbound after print
- #316 - ie9 cant use matchmedia properly
- #321 - do not require Content Security Policy (CSP) style-src 'unsafe-inline'
enableAria
option has been removed. It is now always enabled.
bug fixes:
- #313 - afterPrint not getting called
bug fixes:
- #289 - properly handle overflow:scroll !important
- #298 - add ability to opt out of 3rd party lib integrations
- #303 - fix
scrollContainer: true
behavior - #299 - fix weirdness when header cells contain tons of content (thanks @cantin for PR)
- #300 - remember scrollLeft of header when reflowing (thanks @rshah88 for PR)
new features:
- #263 - support for responsive table wrappers
- can now use
scrollContainer:true
to auto-detect scrollParent of the table (something withoverflow != visible
) - #68 - support for printing the table (not in crappy IEs though)
bug fixes:
- #268 - fire 'floatThead' event on destroy
- #264 - header alignments messed up when table within a floated container (when using position:absolute)
- hide more stuff from screen readers that should be hidden
- #255 - added
reflowed
event, see docs - removed underscore usage from non-slim build
- allow 'useAbsolutePositioning', 'scrollingTop' and 'scrollingBottom' to be used, but yell about it via console.error
- renamed 'useAbsolutePositioning' option to
position
. value mappings (old -> new) are: [true -> 'absolute', false -> 'fixed', null -> 'auto'] - renamed 'scrollingTop' to
top
and 'scrollingBottom' tobottom
- removed cellTag and debounceResizeMs options
- removed
floatThead-floatContainer
class from the $floatContainer becausefloatThead-container
class is already there and it is configurable viafloatContainerClass
option. - added
autoReflow
option - #235 - fix tabindex of the floated header (thanks robinpoort)
- #242 - support for multiple tables within a single scrolling div
- #246 - enableAria:true causes javascript exception when using Colgroup
- fixed
getRowGroups
, method which was busted when the header was floated - make grunt work in node 0.12
- #220 - Header and Body alignment problem
- package.json was incorrect
autoReflow
option should work better if your browser supports MutationObserver- added native support for tables within bootstrap3 tabs or jqueryui tabs
- if a tables is hidden, the plugin will not try do anything when you scroll
- the cat is cute
Huge thanks to CoryDuncan, ithielnor, jurko-gospodnetic and mhwlng for your PRs
- #168 - support for fractional column widths (no more alignment issues!)
- #175 - having tables within tables wont cause weird issues
- #165 - Fire an event when the header is floated / unfloated
- #180 - no space outside of table causes it to always float
- #185 - inner scrolling doesnt respect container border
- #186 - can init on a table without thead and later add it
- #194 - header sizing takes into account border-collapse rules
- bunch of code and stylistic cleanup
- now supports perfect-scrollbar plugin
- slightly better mobile safari support
- fix bower.json
- play nicely with angularjs if it modifies the DOM behind the scenes
- screen reader support via
enableAria
option - #122 - better default options for ie
- #121 - header layout bug
- #128 - issues with scrollbar size detection in certain layouts
- #127 - destroy not removing some elements
- Deprecated the
cellTag
option, useheaderCellSelector
instead (see docs) - #101 - huge performance improvement
- #98 - Border-collapse ignored on scroll
- #99 - Incorrect scroll width calculation in some cases
- A couple of updates to the
destroy
method that get the table back into a more pristine state
- #82 - table not disappearing when out of view in a certain layout
- #84 - header not aligned if your scrolling container has a certain height
- #86 - do not take hidden TRs into account when calculating header height
- Changed license over to MIT
- new stuff:
- added support for tables with existing
<colgroup>
elements - added a grunt task to build dist to master
- bug fixes:
- #57 - window resize issues on windows
- #70 - better support for responsive tables
- #71 - incorrectly unbinding events in destroy
- #75 - dom leakage in destroy
- removed underscore dependency, added a slim version which is very slightly smaller and requires underscore
- now supporting a few evil deprecated table attributes that people still use:
cellpadding
andcellspacing
- fixed #52
- fixed #50
- added floatWrapperClass option
- added copyTableClass option
- better support for tables with dynamically hidden columns
- can now set a class on the floating header's container div
- fixed issue with caption tag align:bottom
- switched to uglifyjs to minify code
caption
tag support- faster initialization when working with large tables (and small ones)
- Fixed bugs introduced in 1.0.0 which caused issues in IE9
- Updated code to be jquery 1.9+ compliant