Skip to content

v2.4.0 - Updated containScroll behaviour

Compare
Choose a tag to compare
@davidjerleke davidjerleke released this 30 Aug 17:35
· 1390 commits to master since this release

👉 Changes

When using the option containScroll Embla will automatically merge any excessive snap points that share the same snap position as discussed in issue #19. This affects following API methods:

  • canScrollPrev()
  • canScrollNext()
  • scrollSnapList()