Skip to content

infiniteLoading not work under transition without scrolling #207

Open
@shixy96

Description

@shixy96

Version

2.4.3

Vue.js version

2.2.1

Reproduction Link

https://jsfiddle.net/shixy007/eywraw8t/479224/

Steps to reproduce

  1. click '/home' link
  2. click '/fool' link
  3. click '/home' link
  4. click '/fool' link

What is Expected?

每次点击 '/fool' 后都应该触发 infinite 进行加载

What is actually happening?

第二次点击 '/fool' 后都没有触发 infinite 进行加载;

Compared 1

  1. click '/home' link
  2. scroll down
  3. click '/fool' link
  4. click '/home' link
  5. scroll down
  6. click '/fool' link
    加载正常

img

Compared 2

在去掉包裹 router-view 的 transition 之后,加载正常
https://jsfiddle.net/shixy007/eywraw8t/479226/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions