animate-react-native / animate-react-native/marquee
Marquee with direction="vertical" is not taking up 100% width
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 354
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
Marquee with direction="vertical" is not displaying
import { Marquee } from '@animatereactnative/marquee';
import { marketPortfolioBuilderCardMarqueeMocks } from './market-portfolio-builder-card-marquee.mock';
import styled from 'styled-components/native';
const getRandomColor = () => {
return #${Math.floor(Math.random() * 16777215).toString(16)};
};
export const MarketPortfolioBuilderMarqueeItem = styled.Viewdisplay: flex; flex-direction: row; justify-content: space-between; align-items: center; height: 80px; margin-top: 15px; background-color: ${getRandomColor}; width: 100%;;
export const MarketPortfolioBuilderCardMarquee = () => {
return (
{marketPortfolioBuilderCardMarqueeMocks.map((_, index) => (
))}
);
};
After updating code for AnimatedChild inside the package, adding width: 100% items are displaying correctly
Contributor guide
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 Marquee entry point and the package's AnimatedChild implementation, then reproduce the supplied direction="vertical" example with the mapped marketPortfolioBuilderMarqueeMocks items. Done means vertical marquee children occupy the available width, matching the reported corrected rendering; no specific test file is named in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100