height changing on transition when it's not expected

Hey folks can anyone explain this issue right here https://play.tailwindcss.com/B78fB3wSNF whenever I hover or focus on the link I see scale transition which is expected but I also see the height changing but adding after:will-change-transform fixes the issue so can anyone explain why height is changing in transition
Tailwind Play
Tailwind Play
An advanced online playground for Tailwind CSS that lets you use all of Tailwind's build-time features directly in the browser.
19 Replies
Chris Bolson
Chris Bolson•2d ago
I'm not seeing any height changing. Where are you seeing it? Can you attach a screen capture video?
Mannix
Mannix•2d ago
same
Aditya Kirad
Aditya KiradOP•2d ago
Aditya Kirad
Aditya KiradOP•2d ago
you can clearly see the in the video that during start and running of transition highlight element is thick while at the end it becomes thin
Chris Bolson
Chris Bolson•2d ago
I am not seeing that on Chrome or Firefox (tested on Mac) (I slowed the transition down for the video just to be sure)
Chris Bolson
Chris Bolson•2d ago
What browser are you seeing this on?
Mannix
Mannix•2d ago
i need to visit eye doctor i can't see that i even slowed down the transition
Aditya Kirad
Aditya KiradOP•2d ago
are you saying that I gave you wrong video
Chris Bolson
Chris Bolson•2d ago
no, I can see it on your video. I just don't see it when testing on my computer
Aditya Kirad
Aditya KiradOP•2d ago
I just found that this issue is with only edge I tried same thing right now in zen it works fine there I wonder why it's happening in edge not in other browsers
Mannix
Mannix•2d ago
it all works fine for me in chrome zen and edge
Chris Bolson
Chris Bolson•2d ago
works fine for me in Edge too. I can't get it to load at all in Safari but that is probably more a tailwindplay issue than the specific code.
Aditya Kirad
Aditya KiradOP•2d ago
my bad I should have checked in other browsers also hmm that's strange in my edge this issue is happening while not in yours what build you are running I'm running 135.0.3179.52 (Official build) beta (64-bit)
Chris Bolson
Chris Bolson•2d ago
I am on an old version of Edge as I can't update it any more due to my old computer 😢
Mannix
Mannix•2d ago
my edge is 134.0.3124.93 it says it's up to date
Chris Bolson
Chris Bolson•2d ago
Version 128.0.2739.67 (Official build) (x86_64)
Aditya Kirad
Aditya KiradOP•2d ago
maybe a bug in build
Mannix
Mannix•2d ago
your edge is on beta branch
Aditya Kirad
Aditya KiradOP•2d ago
I know that but didn't thinked that this can cause this issue alright now we know the actual reason we can close this post

Did you find this page helpful?