swup / parallel-plugin

A swup plugin for animating the previous and next page in parallel  🎏

Home Page:https://swup.js.org/plugins/parallel-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow keeping the previous container indefinitely

daun opened this issue · comments

Describe the problem

  • Currently, the plugin discards the previous content after the animation
  • Some layouts require keeping a copy of the previous content indefinitely
  • Stacked layouts, multi-column slideshows, etc.

Describe the proposed solution

  • Add an option to keep X previous content containers around
  • Think about browser history visits

Alternatives considered

  • Create a project-specific plugin or use hooks with custom logic

How important is this feature to you?

  • Nice to have
  • Would make my life a lot easier
  • I cannot use swup without it