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:
- mkoryak#313 - afterPrint not getting called
bug fixes:
- mkoryak#289 - properly handle overflow:scroll !important
- mkoryak#298 - add ability to opt out of 3rd party lib integrations
- mkoryak#303 - fix
scrollContainer: true
behavior - mkoryak#299 - fix weirdness when header cells contain tons of content (thanks @cantin for PR)
- mkoryak#300 - remember scrollLeft of header when reflowing (thanks @rshah88 for PR)
new features:
- mkoryak#263 - support for responsive table wrappers
- can now use
scrollContainer:true
to auto-detect scrollParent of the table (something withoverflow != visible
) - mkoryak#68 - support for printing the table (not in crappy IEs though)
bug fixes:
- mkoryak#268 - fire 'floatThead' event on destroy
- mkoryak#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
- mkoryak#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 - mkoryak#235 - fix tabindex of the floated header (thanks robinpoort)
- mkoryak#242 - support for multiple tables within a single scrolling div
- mkoryak#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
- mkoryak#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
- mkoryak#168 - support for fractional column widths (no more alignment issues!)
- mkoryak#175 - having tables within tables wont cause weird issues
- mkoryak#165 - Fire an event when the header is floated / unfloated
- mkoryak#180 - no space outside of table causes it to always float
- mkoryak#185 - inner scrolling doesnt respect container border
- mkoryak#186 - can init on a table without thead and later add it
- mkoryak#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 - mkoryak#122 - better default options for ie
- mkoryak#121 - header layout bug
- mkoryak#128 - issues with scrollbar size detection in certain layouts
- mkoryak#127 - destroy not removing some elements
- Deprecated the
cellTag
option, useheaderCellSelector
instead (see docs) - mkoryak#101 - huge performance improvement
- mkoryak#98 - Border-collapse ignored on scroll
- mkoryak#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
- mkoryak#82 - table not disappearing when out of view in a certain layout
- mkoryak#84 - header not aligned if your scrolling container has a certain height
- mkoryak#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:
- mkoryak#57 - window resize issues on windows
- mkoryak#70 - better support for responsive tables
- mkoryak#71 - incorrectly unbinding events in destroy
- mkoryak#75 - dom leakage in destroy
- bug fixes:
- mkoryak#66
- mkoryak#65
- mkoryak#62
- better support for really really wide tables
- fixed mkoryak#53
- fixed mkoryak#56
- 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 mkoryak#52
- fixed mkoryak#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