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
nav
issue with non loop slider - Fixed: a image loading issue when
src
attributes are not set
v2.9.0
-
Added: option
center
#271 -
Added: live region to reflect page change
-
Improved: totally rebuild
nav
functions.nav
is now static. #290 -
Changed: stop forcing outer slider
autoHeight
to betrue
-
Changed:
slidePositions
now include the end edge of the last element -
Fixed: a function declaration issue in strict mode #332
-
Fixed: an issue with
lazyload
which 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
autoHeight
in 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
nav
item when customizenav
is used -
Fixed: a possible QuotaExceededError #224
-
Removed: key functions with keys
up
,down
,pageup
,pagedown
,home
andend
to 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:
displayIndex
to info object #304 -
Added: eventName to the callback function of the custom events #280
-
Added: class "failed" to images failing to load when
lazyload
is on -
Imporved: stop
autoplay
on drag/touch #298 -
Fixed: slide width in
vertical
sliders 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
autoWidth
is 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
nav
because the using ofaria-select
#92 -
Fixed: an
edgePadding
error 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:
lazyload
on IE11 #306 -
Fixed:
left
values of slides ingallery
mode in some browsers -
Fixed: a
controlsContainer
issue #325
v2.8.7
- Added:
srcset
support when lazy load images. #265 (Thanks @marcaj) - Added: Embed TypeScript types. #263 (Thanks @openscript)
- Fixed: removed unnecessary
margin-left
attribute ongallery
slides.
v2.8.6
- Fixed:
autoHeight
on resize. - Fixed: customized elements still visiable when slides less than
items
. #259 - Fixed: fix a container height issue in slider initialization in
gallery
mode 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
refresh
to refresh vertical slider when it's switched fromdisplay: none
todisplay: block
#242 - Added: mobile tests
- Improved: optimize resizeTasks(), destroy()
- Improved: add
resize
event 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
fixedWidth
slider issue when viewport is smaller than slide width - Fixed: an issue in
rebuild()
- Fixed: a
localStorage
related issue - Fixed: add tiny-slider.module.js back for compatibility
- Fixed: a
responsive
issue by converting breakpoint strings to numbers in for-in loops #234
v2.8.2
- Improved: add ".js" when import modules, now you can import
tns
directly in the<script>
- Improved: update ie8 helper fn()s
- Fixed:
index
ingoTo
#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