Giter Site home page Giter Site logo

Comments (9)

 avatar commented on May 22, 2024 1

Okay! Then I close this issue.

from splide.

 avatar commented on May 22, 2024

Splide sets the slider position after the window resize(but it's throttled). I checked some cases but I could not reproduce those issues.
After items are gone, are they never been displayed? Also, do you see same bugs in my demo site?

from splide.

AmirHosseinKarimi avatar AmirHosseinKarimi commented on May 22, 2024

No I have not see this problem in demo site, But I can produce this problem in my examples.
I will create a fiddle about this, but can not do currently.
For details this I used autoWidth in a 70vw with trimSpace false and center focus.
Try rotating the view when focus in first or last one slide.

from splide.

 avatar commented on May 22, 2024

I tested it with your options:

new Splide( '.splide', {
  width    : '70vw',
  focus    : 'center',
  autoWidth: true,
  trimSpace: false,
} ).mount();

And the slider was displayed correctly even after the view was rotated.

rotate

I should wait for your example in fiddle.

from splide.

AmirHosseinKarimi avatar AmirHosseinKarimi commented on May 22, 2024

I tried to reproduce this in JsFiddle but looks likes there is not any problem from Splide, I think its from my page and now after some changes I have made today it disappear.
Even can not go back to produce this again...

from splide.

Shekhar-Zealous avatar Shekhar-Zealous commented on May 22, 2024

@AmirHosseinKarimi Could you share the details on how you fixed this issue?

from splide.

Shekhar-Zealous avatar Shekhar-Zealous commented on May 22, 2024

This resize issue is appearing on my site too. I am using Svelte-splide.

Version details - "@splidejs/svelte-splide": "^0.2.9",
Splide configuration:

<Splide
  options={{
    speed: 1000,
    perPage: 1,
    type: 'loop',
    arrows: true,
    drag: true
  }}
>

Bug clip:
https://www.awesomescreenshot.com/video/22083221?key=64e2a26f398183af8851f1b4c64c3e88

Has anyone faced this problem again or have any solution to fix this issue?

Thanks in advance

from splide.

AmirHosseinKarimi avatar AmirHosseinKarimi commented on May 22, 2024

Hi @Shekhar-Zealous
I can't remember the issue. But I can see in the last comment I said it fixed and I don't know how :)

from splide.

Shekhar-Zealous avatar Shekhar-Zealous commented on May 22, 2024

Thanks for the reply @AmirHosseinKarimi ;)
Of course, no way to remember it as your comment was from way back 2020.

Maybe Splide creator @NaotoshiFujita can help me now.

from splide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.