Comments (2)
Excellent observation.
for the ExpandingDot component I added the property
itemWidth?: number;
and modified
const inputRange = [
(index - 1) * width,
index * width,
(index + 1) * width,
];
in
const inputRange = [
(index - 1) * (itemWidth || width),
index * (itemWidth || width),
(index + 1) * (itemWidth || width),
];
Now I use
<ExpandingDot
data={items}
...
itemWidth={myItemWidth}
/>
from react-native-animated-pagination-dots.
@weahforsage
What do you think on that problem?
Can you approve the idea so the PR may be opened?
from react-native-animated-pagination-dots.
Related Issues (20)
- Liquid-like animated pagination dots HOT 8
- Two product card in one page HOT 1
- Separation of active dot and other dots styles
- Max Number of dots HOT 1
- Cannot Show "Dots" inside ScrollView
- Error: Invariant Violation: requireNativeComponent: "RNSVGLine" was not found in the UIManager. HOT 3
- SlidingDots - java.lang.IllegalStateException HOT 1
- Error: Tried to register two views with the same name RNSVGSvgView HOT 5
- activeDotColor prop HOT 1
- Callback click dots HOT 3
- Add onClick handler to dots HOT 3
- migrate to reanimated v1 v2 ?
- ScalingDot using screen width.
- For Vertically Expanding Dot
- Problem when the device rotates HOT 8
- Programmatically scroll? HOT 1
- SlidingBorder change size HOT 1
- Use the ExpandingDot wihtout the FLatList HOT 2
- Using LiquidLike Dots Error HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-animated-pagination-dots.