question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bound=true + align="prev" with few children not working correctly

See original GitHub issue

Description

When you have a small number of children and the settings bound={true} and align="prev", the carousel allows advancing beyond the bound edge. When the number of children is less than a full viewport, it should not advance at all.

Steps to check or reproduce

Example: https://codesandbox.io/s/nice-cannon-hhio5?file=/src/App.tsx

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
matthewleincommented, Aug 19, 2021

😍 Love it!

Thanks so much for the quick turnaround. Very happy to have a flexbox based carousel meeting all my needs.

0reactions
WoodNeckcommented, Aug 19, 2021

@matthewlein Hello! I’ve fixed this issue in version 4.2.2 😃 Please try that!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Speech Sound Disorders in Children
Speech sound problems include articulation disorder and phonological ... He or she may have trouble forming some word sounds correctly past a certain...
Read more >
Help for Kids Struggling With Learning - Child Mind Institute
How to find the right professional to work with your child. Advice for parents, teachers and caregivers when kids are struggling with ...
Read more >
What's the Best Way to Discipline My Child?
10 healthy discipline strategies that work · Show and tell. Teach children right from wrong with calm words and actions. · Set limits....
Read more >
Tips for Spending Quality Time With Your Child | NAEYC
Some parents feel guilty about working full time, or experience anxiety about choosing to work out at the gym or go to dinner...
Read more >
Economic Issues No. 33 - Educating Children in Poor Countries
The problem in many developing countries is that governments lack either the financial resources or the political will to meet their citizens' educational ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found