Comments (9)
Okay! Then I close this issue.
from splide.
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.
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.
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.
I should wait for your example in fiddle.
from splide.
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.
@AmirHosseinKarimi Could you share the details on how you fixed this issue?
from splide.
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.
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.
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)
- primary.sync(secondary); and secondary with breakpoints property `destroy: true` not showing or syncing correctly after resize
- Pagination: false does not seem to work as described. HOT 3
- isHTMLElement returns false in grapesjs editor (in chrome/edge not in Firefox)
- Grid extension doesn't work HOT 1
- How to get data attribute of current slide, moved pagination does not work HOT 2
- Autoplay disables after arrow clicked
- Focus center with trimspace false not working correctly when showing slider on click HOT 1
- Typo in the 'wheel' option's description text
- focus "center" causes pagination to generate a dot per item, disregarding perPage
- grid option inside thumbnail slider not working (isNavigation)
- In small carousel, when all slides are visible, layout shifts 10px on init. HOT 1
- Empty spae/gap after refresh and moving slider
- not working
- Inactive pagination items are not accessible via TAB key
- help me because splide does not work with Astro framework. HOT 2
- Cannot scroll without animation
- I need to delay more the fade or the animation from one slide to another
- Trying to loop 1 slide per page in loop unable to acheive
- container display:flex overflow slider
- fixedWidth breakpoints not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from splide.