leecade / leecade/react-native-swiper
many slides in a page.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
when I using map method only as children of swiper, it works well.
but, if there are other view components, it doesn't work.
all of slides from map function is in a page. other view components (not using map method) it works well.
<View style = {{flex: 573, backgroundColor: '#ffffff'}}>
<Swiper ref={(swiper) => {
this._swiper = swiper;
}}
showsButtons = {false}
height= {549}
loop = {false}>
hihi
hihi
hihi
{a.map((value)=>{
return (
{value.name}
)
})}
in this case. the result is
[hihi][hihi][hihi][all of values.name].
anyone help me..
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the JSX reproduction in the issue and inspect how Swiper handles explicit children mixed with mapped children. Done means each mapped item renders as its own slide rather than all mapped values appearing together; no file or test is named in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100