Skip to content

Conversation

@WesselKroos
Copy link
Contributor

Prevents removing and re-adding of the active-, previous- and next- slide classes. This happens for every scroll/move when freeMode is enabled, causing an unnecessary performance penalty.

Fixes #7355

…ecessary style recalculations (This performance difference is most noticeable with freeMode enabled because onTouchMove calls updateSlidesClasses)
@nolimits4web
Copy link
Owner

t0ggles-create swiper

@t0ggles
Copy link

t0ggles bot commented Mar 18, 2024

Task nolimits4web/SWIPER-67 was created

t0ggles task SWIPER-67

@t0ggles
Copy link

t0ggles bot commented Mar 28, 2024

Task nolimits4web/SWIPER-67 status changed to Done

@t0ggles t0ggles bot added the t0ggles Linked to the t0ggles task label Mar 28, 2024
@nolimits4web
Copy link
Owner

Thanks, had to merge it manually with few tweaks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t0ggles Linked to the t0ggles task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Freemode repeatedly re-adds classes to slides when scrolling/moving, causing an unnecessary performance penalty

2 participants