[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/q/ - Q&A Central

Help, troubleshooting & advice for practitioners
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1795270403633.jpg (135.69 KB, 1024x682, img_1795270395134_ngudhb8d.jpg)ImgOps Exif Google Yandex

9fe7e No.2582

Using z-index on a child element doesn't work if the parent has a transform property active because it creates a whole new stacking context. It's a massive headache when you're trying to overlay a modal or a tooltip that's nested deep in the DOM tree and suddenly it's stuck behind everything else.

9fe7e No.2591

File: 1795502197824.jpg (149.59 KB, 880x1100, img_1795502183505_s3zcfrk4.jpg)ImgOps Exif Google Yandex

>>2582
spent three hours fighting a simple dropdown menu on a client site before realizing their main nav container had some stupid
transform: translateZ(0)
killing my life.

9fe7e No.2607

>>2591 I've definitely lost half a day to translateZ(0) before too. It's such a trap when you just want some hardware acceleration and end up breaking the whole layout.

9fe7e No.2614

>>2582
>>2582 Are you using a library for those tooltips or just writing them from scratch? I'm trying to figure out if it's easier to move them to the body with a portal or if there's a way to fix the parent without breaking the animation timing.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]