1. @better-scroll/nested-scroll
make your nested scrolls reconciliation
@better-scroll/nested-scroll
Package: @better-scroll/nested-scroll
Created by: ustbhuangyi
Last modified: Fri, 19 May 2023 10:27:07 GMT
Version: 2.5.1
License: MIT
Downloads: 10,466
Repository: https://github.com/ustbhuangyi/better-scroll

Install

npm install @better-scroll/nested-scroll
yarn add @better-scroll/nested-scroll

better-scroll

中文文档

nestedScroll is a plugin which helps you solve the trouble of nested Scroll

Usage

   import BScroll from 'better-scroll'
  import NestedScroll from '@better-scroll/nested-scroll'

  BScroll.use(NestedScroll)

  // parent bs
  new BScroll('.outerWrapper', {
    nestedScroll: true
  })
  // child bs
  new BScroll('.innerWrapper', {
    nestedScroll: true
  })

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code