Releases: ganlanyuan/tiny-slider
v2.9.3
-
Improved: Use epsilon insted of foFixed #464
-
Fixed: Fix console error 'Cannot read property 'appendChild' of null' #429
-
Fixed: Check image.complete in case image has been already loaded #436
-
Fixed: Check if event is cancelable before calling preventDefault #437
-
Fixed: Adds type="button" to all elements, preventing the default functionality of submit which mainly effects .NET Webform sites. #382
-
Fixed: Issue with destroying slides with no nav container #383 #384
-
Fixed: Fix an issue with responsiveness when page is resized below a breakpoint #361 #387
-
Fixed: Fix an issue with lazyloadSelector
-
Fixed: Dots nav doesn't display on resize if the page is loaded first on viewport where slider is disabled #375 #512
-
Fixed: Fix style checking with autoWidth slider when only 1 item is present
-
Fixed: Fix getIndexMax() for autoWidth
-
Others:
Updated tiny-slider.d.ts; Fixed some typos.
v2.9.1
- Fixed: a
navissue with non loop slider - Fixed: a image loading issue when
srcattributes are not set
v2.9.0
-
Added: option
center#271 -
Added: live region to reflect page change
-
Improved: totally rebuild
navfunctions.navis now static. #290 -
Changed: stop forcing outer slider
autoHeightto betrue -
Changed:
slidePositionsnow include the end edge of the last element -
Fixed: a function declaration issue in strict mode #332
-
Fixed: an issue with
lazyloadwhich leaves images at opacity 0.6 #346 -
Fixed: a viewport calculation error because of the scrollbar change after the slider initialization.
-
Fixed: an issue with
autoHeightin Edge browser #341 -
Fixed: an issue that passive listener is not used when scrolling in cases it could be used #342
-
Fixed: an issue which hides active
navitem when customizenavis used -
Fixed: a possible QuotaExceededError #224
-
Removed: key functions with keys
up,down,pageup,pagedown,homeandendto prevent conflict with other page actions -
Removed: unnecessary tabindex="0", type="button"
v2.8.8
-
Added: new options
preventScrollOnTouch(#324, #162),preventActionWhenRunning(#318),lazyloadSelector(#270),controlsPosition,navPosition,autoplayPosition(#314) -
Added:
displayIndexto info object #304 -
Added: eventName to the callback function of the custom events #280
-
Added: class "failed" to images failing to load when
lazyloadis on -
Imporved: stop
autoplayon drag/touch #298 -
Fixed: slide width in
verticalsliders in some old browsers -
Fixed: an issue with customized controls
-
Fixed: an issue when touch/drag start
-
Fixed:
getIndexMax()forfixedWidth -
Fixed:
getClientWidth() -
Fixed: an touch issue in ios safari/chrome when
autoWidthis on #315 -
Fixed: class "loaded" is added when image fail to load #284
-
Fixed: an issue in nav click event listener #316
-
Fixed: an accessibility issue with
navbecause the using ofaria-select#92 -
Fixed: an
edgePaddingerror in responsive field when its value is0#111 -
Fixed: a gallery gutter issue
-
Fixed: an issue in
initTools()when use customized controls -
Fixed: the "Buttons must have discernible text" error for page buttons #308
-
Fixed:
lazyloadon IE11 #306 -
Fixed:
leftvalues of slides ingallerymode in some browsers -
Fixed: a
controlsContainerissue #325
v2.8.7
- Added:
srcsetsupport when lazy load images. #265 (Thanks @marcaj) - Added: Embed TypeScript types. #263 (Thanks @openscript)
- Fixed: removed unnecessary
margin-leftattribute ongalleryslides.
v2.8.6
- Fixed:
autoHeighton resize. - Fixed: customized elements still visiable when slides less than
items. #259 - Fixed: fix a container height issue in slider initialization in
gallerymode by setting active sliders as relative positioned. #260 - Fixed:
startAutoplay()excute 2 times when setautoHeight: true. #258 - Fixed:
destroy(). #255 - Fixed: reverse slide selector from tag to class in tiny-slider.scss. #256
- Improved: show/hide element functions.
- Improved: set more methods and properties to null in
destroy().
v2.8.5
v2.8.4
v2.8.3
- Added: a method
refreshto refresh vertical slider when it's switched fromdisplay: nonetodisplay: block#242 - Added: mobile tests
- Improved: optimize resizeTasks(), destroy()
- Improved: add
resizeevent listener only when needed - Improved: optimize destroy()
- Improved: some other small improvements
- Improved: update container height simultaneously with transform when
autoHeight: true#235 - Fixed: a
fixedWidthslider issue when viewport is smaller than slide width - Fixed: an issue in
rebuild() - Fixed: a
localStoragerelated issue - Fixed: add tiny-slider.module.js back for compatibility
- Fixed: a
responsiveissue by converting breakpoint strings to numbers in for-in loops #234
v2.8.2
- Improved: add ".js" when import modules, now you can import
tnsdirectly in the<script> - Improved: update ie8 helper fn()s
- Fixed:
indexingoTo#230 - Fixed: a variable issue in
transformCore()for IE8-9 - Fixed: an issue in
onPanMove() - Removed: IE10 related fn()s and styles (which are useless), some other variables