#Thread

1 messages · Page 1 of 1 (latest)

charred cloak
wispy orbitBOT
#

Hi @charred cloak. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

charred cloak
#

I would remove the exit property as you want only the animation on entering the tab

wispy orbitBOT
#

Sorry @charred cloak, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist:

Perhaps try again in 15mins?

gritty fern
charred cloak
gritty fern
#

I am using a single

#

motion div

#

in the layout

charred cloak
#

could you get there a layout prop?

gritty fern
#

what?

charred cloak
#

like <PageWrapper layout>{children}</PageWrapper>

#

as PageWrapper is a motion.div?

gritty fern
#

i can just provide it in the page wrapper itself

#

ill try it

#

nope did not fix anything

charred cloak
#

that's reaaly weaird :/

gritty fern
#

yeah idk

#

im not sure why this is happening

#

you know what

#

I think if two pages

#

are different sizes in y

#

its like the framer motion is having a animation

#

to scale the page from one page size to the current page size

#

yeah

#

I think thats exactly what is happening

#

the framer motion div is changing size to match the size of a specific page

#

how do I stop sizing from being animated?

gritty fern
#

I may have got it working by just using templates

#

instead of layouts for it

#

Issue is though

#

the loading.tsx will be given the page transition

#

before the page loads in

#

when really I want the page to be transitioned first

#

I guess the only way of doing this would be wrap every single route I want with this component

#

which is not ideal

charred cloak
gritty fern
#

thats not possible

#

every pages height will be different

charred cloak
#

yeah, but you can set the min-height, and there will not be that effect

gritty fern
#

it would

#

because on pages that are larger than the min height

#

i would still get this resizing animation