Skip to content

Marquee with direction="vertical" is not taking up 100% width #17

Description

@karkade-dev

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) => (

))}

);
};

Image

After updating code for AnimatedChild inside the package, adding width: 100% items are displaying correctly

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions