Skip to content

But when I try to click the story, it’s not showing the full screen which before it was doing #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Vishnu-Gritstone opened this issue Feb 3, 2025 · 1 comment

Comments

@Vishnu-Gritstone
Copy link

But when I try to click the story, it’s not showing the full screen which before it was doing

@MuhammadOsama169
Copy link

Hi you need to set up imageProps to view full screen. Below is an example that might help you

      <InstagramStories
        ref={ref}
        stories={stories}
        animationDuration={5000}
        progressActiveColor={"#ff2b79"}
        progressColor={"#ffffff"}
        imageStyles={{ resizeMode: "cover" }}
        showName
        nameTextStyle={{ color: "#ffffff", textAlign: "center", paddingTop: 5 }}
        mediaContainerStyle={{ backgroundColor: "#ffffff" }}
        imageProps={{ height: 1000 }}
      />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants