PricingBlog

Blocked navigation to a page. What can be the reason?

  • prettycold_-1282687150365610024

    Sam B

    1 year ago

    I have a log in page, and I use xano as backend. My login works well, it returns what it needs to return.

    I added a switch in the success of form submit event, to navigate to different pages depending on a boolean value. It always seem to throw Blocked navigation.

    And this is my switch. See anything amiss?
    1282687150621593601-image.png
    1282687150881636362-image.png
  • tomthebigtree-1282704352259342376

    Tom Ireland

    1 year ago

    Are you navigating inside the editor? I wonder if it's related to an update today. See https://discord.com/channels/972416966683926538/1096060792614432808/1282613965041438763
  • Best to test in Preview when Go to URL is involved because it messes up the sync with the editor.
  • prettycold_-1282707990859878541

    Sam B

    1 year ago

    Alright, let me publish and test the live site to avoid confusions
    👍1
  • Tod-1282707992298655852

    Tod

    1 year ago

    Great energy @Sam B! Your continuous contribution to the toddle Community just made you advance to Community Level 4!
  • mdxwired-1285267950168703028

    mdxwired

    1 year ago

    Any resolution on this? I am having the same issue. In my case, using Supabase for authentication... but the same issue.

    Cannot use the Go To URL that worked perfectly a week ago.

    Should we just no longer use the in-editor preview mode? If so, it would seem that this will add significant time and effort to the rapid debugging process... something that the editor previously made so easy, even with the need to occasionally re-sync the system with a page reload here and there.

    Thanks in advance!
  • prettycold_-1285276525406720020

    Sam B

    1 year ago

    Instead of in-editor, just use the preview button next to the play button. That's sufficient. You don't have to publish or anything, so it won't affect the debuging process.
  • needtheanswers-1285283952742891633

    needtheanswers

    1 year ago

    I have a similar problem
    1285283952940154890-image.png
  • tomthebigtree-1285288562476060776

    Tom Ireland

    1 year ago

    As per [my previous message](https://discord.com/channels/972416966683926538/1282687150365610024/1282704352259342376), I believe this to be related to an update that was made to prevent the editor getting out of sync. Before that, you’d see a redirect but have to authenticate and/or refresh the editor, elements wouldn’t be selectable, etc. Preview is the best place to test redirects.
    👍1
  • lucasg-1285289767982071809

    Lucas G

    1 year ago

    As Tom is saying, it is intentional. Not a bug. In editor redirects used to break the editor and cause you to have to refresh it.