Skip to content

Releases: ganlanyuan/tiny-slider

v2.9.3

27 Jul 20:53
Compare
Choose a tag to compare
  • Added: add classname for cloned slides #533 #559

  • Added: Add nonce option (CSP) #158 #528

  • 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 mediaquerySupport helper #504 #570

  • 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

17 Dec 16:15
Compare
Choose a tag to compare
  • Fixed: a nav issue with non loop slider
  • Fixed: a image loading issue when src attributes are not set

v2.9.0

13 Dec 11:18
Compare
Choose a tag to compare
  • 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 be true

  • 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 customize nav is used

  • Fixed: a possible QuotaExceededError #224

  • Removed: key functions with keys up, down, pageup, pagedown, home and end to prevent conflict with other page actions

  • Removed: unnecessary tabindex="0", type="button"

v2.8.8

11 Nov 11:04
Compare
Choose a tag to compare
  • 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() for fixedWidth

  • 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 of aria-select #92

  • Fixed: an edgePadding error in responsive field when its value is 0 #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 in gallery mode in some browsers

  • Fixed: a controlsContainer issue #325

v2.8.7

27 Sep 13:50
Compare
Choose a tag to compare
  • Added: srcset support when lazy load images. #265 (Thanks @marcaj)
  • Added: Embed TypeScript types. #263 (Thanks @openscript)
  • Fixed: removed unnecessary margin-left attribute on gallery slides.

v2.8.6

28 Aug 13:23
Compare
Choose a tag to compare
  • 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 set autoHeight: 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

13 Aug 15:59
Compare
Choose a tag to compare
  • Fixed: a vertical slider issue in initialization. #251
  • Fixed: an issue in destroy() when option container is an Object. #250
  • Fixed: a duration issue in transformCore().

v2.8.4

08 Aug 13:41
Compare
Choose a tag to compare
  • Added: version property to tns.
  • Added: id attribute to outer wrapper. #249
  • Fixed: an issue on resize. #248
  • Fixed: wrong slidePositions in slider initialization when styles are not fully applied.

v2.8.3

02 Aug 18:58
Compare
Choose a tag to compare
  • Added: a method refresh to refresh vertical slider when it's switched from display: none to display: 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

17 Jul 14:35
Compare
Choose a tag to compare
  • Improved: add ".js" when import modules, now you can import tns directly in the <script>
  • Improved: update ie8 helper fn()s
  • Fixed: index in goTo #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