Pjax Page Transition On Causing Issues

Hey I am working on a website.
If I turn the Pjax Page Transition it causes two issue.

  1. I am using the native Bricks Off Canvas element for my navigation, but with the page transition on if I go to another page the elements inside the off canvas wont render.
  2. The second issues is that with the page transition on the native Bricks filter wont work.

If i turn the Pjax Page Transition off non of the issues persist.

Hey!

  1. Where did you implement the offcanvas? In a header template? If yes, could you try to implement it in a content area for testing? Also, what content have you implemented inside the off canvas?

  2. Could you share an URL? (if you dont want to share it here, please open a ticket)

@Daniele just send you a support ticket with the login credentials.

The first issue seems to be resolved without anything, but the second issue persist.
Thank you in advance for checking it!

Fixed :slight_smile:

Hi! I enabled Pjax for my site.
I noticed that, the animate effect of my custom hamburger is not working well when I open another page.
The hamburger stay as X when i’m on another page. Any fixes I can do.

Screencast:

Are you using a specific plugin for the icon animation?

Thank you for your reply, @Daniele

Nope! I custom-made it (plus some simple JS)

In that case, you`re responsible to write custom javascript to re-init your logic after page changes.

Docs:

Thats nothing Bricksforge can do out of the box.

1 Like

Thank you @Daniele

You mentioned reinit, then I made it work now.