Linear Slier - new slider math issue

I am working on a new slider, I thought to share the issue that I have here on WPbay, I have a small bug explained below…

After clicking on a mesh and maximizing and dragging quickly again, there is a small jump on the x position, not sure how to fix i,t and ChatGPT does not help much with this. Click on the meh that are not in the center to replace them.

Here is the live example with textures and stuff Linear Slider

I also updated the code in Glitch with a simplified version without textures and other stuff…Glitch :・゚✧

I can share the full code, is a cool project you can use it on your own if you like…

1 Like

Do you mean that if I maximize the slider and drag it to the right, it jumps to the next slider items, while if I maximize it and drag it to the left, it stays in the same position? Is this the issue you are mentioning?

I recorded the entire thing so… I will share the result soon..

About yoruwustion no, that is not it, When you click on an item gets maximized, but if you drag quickly, there is a slight jump is not fluid…

I tried as well but I can’t seem to reproduce it - it would help if you can record a loom

You guys don’t have the eye of a former Adobe Flash developer LOL :slight_smile: is there trust me… I am working on it , I will come back soon with some clarifications!

You made me curious and I looked more into it but I really can’t get any issue.

Maybe it’s one of those glitches that you can only see depending on the browser, OS, screen size etc

Trust me is there, but it does not matter because I write the code…

I will get back on this asap.

I also cannot seem to reproduce this. Maybe can you make a short video showing it, probably we miss something very subtle.

I am working on it The code on the live setting is an old version…

Ok, let us know if we can help. :slight_smile:

I ended up to pay for this first time in 25 years ,so far 7 developers failed, all said that they can do it … after a few days defeat…

i will come with details as soon as it is done… I am tired of this …

Sure, we will be here. :slight_smile: