React-native-swiper: 多处swiper自定义renderPagenation 渲染后有的onIndexChanged无法触发底部索引器更新

Created on 19 Dec 2019  ·  1Comment  ·  Source: leecade/react-native-swiper

Which OS ?

Version

Which versions are you using:

  • react-native-swiper v?
  • react-native v0.?.?

Expected behaviour

Actual behaviour

How to reproduce it>

To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
-

Steps to reproduce

1.
2.
3.

Most helpful comment

Targeting

/node_modules/react-native-swiper/src/index.js
Put this sentence (on line 274)

const offset = this.internals.offset = ()
Changed to

const offset = this.internals.offset = {x: 0, y: 0}

>All comments

Targeting

/node_modules/react-native-swiper/src/index.js
Put this sentence (on line 274)

const offset = this.internals.offset = ()
Changed to

const offset = this.internals.offset = {x: 0, y: 0}

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AndriiBoiko picture AndriiBoiko  ·  3Comments

tokict picture tokict  ·  3Comments

AndrewSouthpaw picture AndrewSouthpaw  ·  3Comments

hadrienbbt picture hadrienbbt  ·  3Comments

commit-master picture commit-master  ·  3Comments