Skip to content
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

Progress bar never reaches full width #4

Open
gregorybolkenstijn opened this issue Apr 8, 2024 · 3 comments
Open

Progress bar never reaches full width #4

gregorybolkenstijn opened this issue Apr 8, 2024 · 3 comments

Comments

@gregorybolkenstijn
Copy link

gregorybolkenstijn commented Apr 8, 2024

You can see this happening in the demo: https://react-transition-progress.vercel.app/

The bar never reaches full width, it just disappears halfway. A common pattern for progress bars is to become full width before disappearing. You can see this happening in popular progress bar packages like:

Edit: I see the demo in the linked article has the same behaviour: https://buildui.com/posts/global-progress-in-nextjs

@timneutkens
Copy link
Member

Feel free to investigate/change this, it'll probably need to exit animate to 100% then opacity 0. Framer-motion probably has something for this, but while you're at it you can maybe also have a look into #1 to remove framer-motion completely 👍

@AF1QUE
Copy link

AF1QUE commented Apr 27, 2024

@timneutkens Thanks for putting it out here; I would very much appreciate it if you could explain how I can make the progress bar complete full width. 🙏

@timneutkens
Copy link
Member

I don't know 😄 That's why it has to be investigated 🙂

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

3 participants