Skip to content

Barba breaks when route contains colon and number #750

@psntr

Description

@psntr

What version are you using?

v.2.10.3

What package are you using?

@barba/core

Describe your issue

This issue happens already in previous version where I didn't fix with Barba but change my routing to prevent the using colon and number in my URL.

The reason there is colon and number in my URL, is because I'm using Kirby CMS, and when using params to filter via routing, they append the terms in the URL like so:
www.mywebsite.com/blog/tag:2013

Every time there is a colon followed by a number, barba stop working so the page transition do not work and next subsequent page transition result in also on the default "hard" transition.

I tried to use barba.go(), which works for the first transition but then again, the next one doesn't work. This only occurs when there is a colon and a number in the URL. Meaning this works www.mywebsite.com/blog/tag:any.

Weirdly enough, this only occurs on my production server regardless of the hosting company…

Metadata

Metadata

Assignees

No one assigned

    Labels

    @barba/core@barba/core pluginbugbug to fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions