79766859

Date: 2025-09-17 03:49:22
Score: 1
Natty:
Report link

You did not explain your issue very well so I’ll try to give you ideas.

First of all, is it flickering or reloading the url in a row ?

When is it flickering ? When you release your finger ?

Because onEnded can reverse drag offset to 0 with and without animations - whilst the view above listen to it to trigger animation when it’s 0.

Also offset == 0, when it’s true animate otherwise jumps.

Now when you call advance(), do you by any chance update your listed items ? Because when zindex is updating you might have a weird change effect.

OnEnded can set the drag offset to 0 so if your view is not index 1, or 0 it can still have the container offset - leading to an overlapping of an item of index 1 and more.

IsDraggingFromBar is rerendering every view on the hierarchy - the slider might be extracted.

The slider gets a position and and offset below but that’s another issue

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Ruben Mim