swipe-card
swipe-card copied to clipboard
Update Swiper
Updated the Swiper library to a much more recent version.
I was specifically having an issue with shadow DOM targeting (for the noSwipingSelector
) that was fixed somewhere in v8 (used deprecated/non-standard event.path
instead of event.composedPath()
).
There's definitely potential that this introduces breaking changes for existing swipe-card users, as the underlying Swiper API may have changed; I didn't go through all the changes from v6 to v10...) However, it would make this component more in sync with the linked Swiper documentation, etc.
In addition to bumping Swiper to the most current version, I also bumped two other dependencies to resolve some security issues.
If you don't want to move to a new version, I totally understand. I just figured I'd offer this, as I've been using it locally for a while.
@breakthestatic Can you share a compiled JS file here?
Thank you, found JS file in dist
@bramkragten, just wanted to ping you, as someone in the forums was asking if this project was dead. Getting up-to-date with the underlying library could definitely help in that regard.