#Help diagnosing site flashing/ glitching when navigating through internal links

1 messages · Page 1 of 1 (latest)

umbral sail
#

Hey guys!

I am building my blog with the tailwind-astro-starting-blog theme by wanoo21.

Repo: https://github.com/wanoo21/tailwind-astro-starting-blog

Demo: https://tasb.yon.fun

On my fork the site is flashing/ glitching out when clicking any link in Safari. In Chrome the mobile nav seems to fly by to the right.

Really not sure what could be causing this, I haven’t made many changes.

I’m hosting on Netlify, and he’s using Vercel.

Here’s my repo: https://github.com/jpasholk/jpshlk-blog

Live site: https://jpshlk.com

I am going to reach out to him, but I thought I’d ask here first since it seems to be an issue with my site and not his demo.

Any help would be appreciated!

Thanks!

GitHub

A started template with Tailwind and Astro. Contribute to wanoo21/tailwind-astro-starting-blog development by creating an account on GitHub.

A blog created with Astro and Tailwind.css

GitHub

My new blog forked from tailwind-astro-starter-blog by wanoo21 - GitHub - jpasholk/jpshlk-blog: My new blog forked from tailwind-astro-starter-blog by wanoo21

My new blog created with Astro and Tailwind.css

severe stump
#

Looks like it's because <ViewTransitions /> is not within <head> in your root layout

umbral sail
#

But when I’m not on mobile in a little bit I’ll try it. I had thought about that, but I’m still a noob with this stuff so I didn’t want to mess with that. lol

umbral sail
#

Damn, I actually have no idea where the <head> is coming from. I searched the repo and didn’t see it anywhere.

It does appear in the html though. Is it provided by Astro somehow?

#

Looks like he includes <ViewTransitions /> right below the <html> tag. Is that right?

severe stump
#

You can add a <head></head> and put the <ViewTransitions /> inside. I'm not seeing an existing head in that project

umbral sail
severe stump
umbral sail
umbral sail
umbral sail
#

Okay, I've narrowed it down to pages with images that I've uploaded in the mdx files using ![]()

umbral sail
#

I'll add anything else I find, and the solution once we can figure it out. Thanks!

umbral sail
#

Anyone have any idea?

severe stump
#

Your site worked fine for me after adding the missing <head></head> around the <ViewTransitions />. You can test it locally - npm run build and then npm run preview

umbral sail