vue-virtual-scroller icon indicating copy to clipboard operation
vue-virtual-scroller copied to clipboard

Destroy/Create Highly Abnormal

Open CylAlon opened this issue 5 months ago • 0 comments
trafficstars

Describe the bug

DynamicScroll is encapsulated in a component that switches through a router. It is found that when switching back, the data height increases, and with multiple switches, the height increases. The attachment below is a rendering of my multiple switches, and it is evident that the heights are different.

Image

Below is my .vue code: `

`

Reproduction

Image

System Info

(base) cyl@CylAlon toolbox % npx envinfo

  System:
    OS: macOS 15.5
    CPU: (8) arm64 Apple M1
    Memory: 94.69 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
  Managers:
    Cargo: 1.85.0 - ~/.cargo/bin/cargo
    CocoaPods: 1.16.2 - /opt/homebrew/bin/pod
    Gradle: 8.13 - /opt/homebrew/bin/gradle
    Homebrew: 4.5.2 - /opt/homebrew/bin/brew
    pip3: 24.2 - /opt/anaconda3/bin/pip3
    RubyGems: 3.0.3.1 - /usr/bin/gem
  Utilities:
    Make: 3.81 - /usr/bin/make
    GCC: 17.0.0 - /usr/bin/gcc
    Git: 2.48.1 - /opt/homebrew/bin/git
    Clang: 17.0.0 - /usr/bin/clang
    Curl: 8.9.1 - /opt/anaconda3/bin/curl
    OpenSSL: 3.0.15 - /opt/anaconda3/bin/openssl
  Servers:
    Apache: 2.4.62 - /usr/sbin/apachectl
  Virtualization:
    Docker: 28.0.4 - /usr/local/bin/docker
    Docker Compose: 2.34.0 - /usr/local/bin/docker-compose
  SDKs:
    iOS SDK:
      Platforms: DriverKit 24.4, iOS 18.4, macOS 15.4, tvOS 18.4, visionOS 2.4, watchOS 11.4
  IDEs:
    Android Studio: 2024.3 AI-243.22562.218.2431.13114758
    VSCode: 0.48.9 - /usr/local/bin/code
    Vim: 9.1 - /usr/bin/vim
    Xcode: 16.3/16E140 - /usr/bin/xcodebuild
  Languages:
    Bash: 3.2.57 - /bin/bash
    Go: 1.24.1 - /usr/local/go/bin/go
    Java: 17.0.14 - /opt/homebrew/opt/openjdk@17/bin/javac
    Perl: 5.34.1 - /usr/bin/perl
    Protoc: 25.3 - /opt/anaconda3/bin/protoc
    Python: 3.12.7 - /opt/anaconda3/bin/python
    Python3: 3.12.7 - /opt/anaconda3/bin/python3
    Ruby: 2.6.10 - /usr/bin/ruby
    Rust: 1.85.0 - /Users/cyl/.cargo/bin/rustc
  Databases:
    MySQL: 5.7.24 - /opt/anaconda3/bin/mysql
    SQLite: 3.44.3 - /Users/cyl/Library/Android/sdk/platform-tools/sqlite3
  Browsers:
    Chrome: 137.0.7151.70
    Safari: 18.5

(base) cyl@CylAlon toolbox %

Used Package Manager

npm

Validations

CylAlon avatar Jun 12 '25 00:06 CylAlon