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.

Setting BackCardsDepth causes items to flash in and out

See original GitHub issue

Repro steps:

  1. Have a list with a bunch of items (eg. 6). Use IsCyclical="False"
  2. Set BackCardsDepth to a large number (eg. 10)
  3. Create two buttons which increment/decrement SelectedIndex
  4. Scroll to the end of the list, then scroll back to the start

Expected Results: Nothing unusual

Actual results: When you scroll back to the first item, the last item briefly (~250ms) flashes on the screen

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
AndreiMisiukevichcommented, May 16, 2021

Anyway, that’s not a bug. That’s the limitation of Forms. XF can’t render so many views at the same time, that’s why some glitches appear.

If you want to forbid reusing views among different items while scrolling the carousel, then just set IsViewReusingEnabled to False

And optionally set DesiredMaxChildrenCount to 12 for example

0reactions
yonkahloncommented, Jun 2, 2021

CoverFlowView works perfectly 😃

Thanks for pointing me in the right direction!

Read more comments on GitHub >

github_iconTop Results From Across the Web

pentax af360 flash... backwards?
Hey everybody,. So I have a af360 flash and as you know it only tilts and does not swivel around. I would like...
Read more >
Flash photography - bouncing your flash behind you
When I say “bounce my flash behind me”, I rarely bounce directly behind me. It's usually at an angle over a shoulder, or...
Read more >
First steps with reverse lens macro
With reversed lenses you lose autofocus and auto aperture, it requires additional adapters, it usually requires a flash and if you want any...
Read more >
SDI Final Exam Flashcards
Study with Quizlet and memorize flashcards containing terms like Objects under water appear: 1: ... 2: Ascend to a depth at which the...
Read more >
Stroboscopic effect
Sixty-one flashes will occur before the object is seen in the same position again, and the series of images will be perceived as...
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