Skip to content

Releases: tuax/tua-body-scroll-lock

v1.3.0-beta.1

04 Jul 10:48
Compare
Choose a tag to compare
v1.3.0-beta.1 Pre-release
Pre-release

No significant changes

    View changes on GitHub

v1.3.0-beta.0

04 Jul 03:08
Compare
Choose a tag to compare
v1.3.0-beta.0 Pre-release
Pre-release

   🚀 Features

   🐞 Bug Fixes

  • Fixed android smooth scroll  -  by evinma (cfa94)
  • Fixed android smooth scroll  -  by evinma (d26ba)
  • Fixed android smooth scroll  -  by evinma (55415)
  • demo: Close #44 fixed -> sticky  -  by evinma in #44 (a04bb)
    View changes on GitHub

v1.1.0

26 Jun 04:01
Compare
Choose a tag to compare

feat: close #38, support multiple targetElement(#40)

  • docs: update demo and readme
  • refactor: remove $

v1.0.0

30 Oct 03:48
Compare
Choose a tag to compare

Enhancements

Support horizontal scrolling on iOS devices.

  • Feature/scroll x ios (#31)
platform link
gh-pages https://tuateam.github.io/tua-body-scroll-lock
jsbin https://jsbin.com/cafiful/edit?output
codepen https://codepen.io/buptsteve/pen/PvNQjP
jsfiddle https://jsfiddle.net/buptsteve/6u8g3Lf5/
codesandbox https://codesandbox.io/s/o73z4jy5q9

v0.3.1

29 Aug 02:27
Compare
Choose a tag to compare

chore: close #28, add missing babel (#29)

v0.3.0

29 Aug 02:46
Compare
Choose a tag to compare

refactor: use typescript (#25)

v0.2.2

04 Jul 11:24
Compare
Choose a tag to compare

Bug Fixes

  • fix(android): set body.style.height to auto (#24)

v0.2.1

05 Jun 02:25
Compare
Choose a tag to compare

Now you can use ESM in browser, see this demo

<!-- unpkg -->
<script type="module">
    import { lock, unlock } from 'https://unpkg.com/tua-body-scroll-lock/dist/tua-bsl.esm.browser.js'

    lock()
    unlock()
</script>

<!-- jsdelivr -->
<script type="module">
    import { lock, unlock } from 'https://cdn.jsdelivr.net/npm/tua-body-scroll-lock/dist/tua-bsl.esm.browser.js'

    lock()
    unlock()
</script>

Bug Fixes

  • chore: only publish src/ and dist/, .babelrc -> babel.config.js(Thanks to @Grawl )

Enhancements

  • feat: support esm in browser(#22)

v0.2.0

10 May 13:51
Compare
Choose a tag to compare

You can try this demo
image

Contributors

@li2go @feitiange

Bug Fixes

  • fix: unLockCallback is undefined (#8)
  • fix: multi lock calls cannot reset body style in android (#14)
  • fix(ios): remove useless code

Enhancements

  • chore: lib/ -> dist/, remove useless plugins, add banner
  • refactor: use forEach to reset attrs
  • perf(ssr): cannot call lock/unlock in server side

v0.1.0

20 Mar 12:08
Compare
Choose a tag to compare
feat: 0.1.0