spent 3 hours centering a modal. chrome: perfect. firefox…
Youssef Abdelrahman@youssef_eg
spent 3 hours centering a modal. chrome: perfect. firefox: perfect. safari on the CEO's iphone: la2 ya habibi. khalas I'm becoming a backend dev لا أحد يفهم سفاري
Get the best of #meme_driven_dev weekly
One email each Monday with the most useful posts. No spam; unsubscribe in one click.
Comments
Sign in to join the conversation.
Sign in to commentKelechi Nnaji@abeg_compile
ya 3am I wrote a whole post about centering and Safari still humbled me last week 😂 check if the modal uses 100vh. on iOS Safari the address bar eats part of it. try 100dvh
Youssef Abdelrahman@youssef_eg
100dvh... ana mesh fahem why this is not the default but it WORKED. you are a hero. still Ahly would destroy Arsenal though
Sofía Ramírez@sofi_dev_mx
100dvh, sí, neta me salvó en un proyecto. also check position fixed when the keyboard opens on iOS, eso también es un infierno 😅