Fix OrderDetailBottomSheet backdrop to not overlap panel
All checks were successful
Build Docker Image / build (push) Successful in 4m22s

Restructured z-index layering:
- Parent container: fixed inset-0 z-40 with pointer-events-none
- Backdrop: only covers map area (lg:left-96 on desktop)
- Sheet content: z-50, positioned above backdrop
This commit is contained in:
Ruslan Bakiev
2026-01-29 20:22:22 +07:00
parent a244589fe5
commit 532b9ce78d

View File

@@ -2,17 +2,19 @@
<Transition name="order-slide"> <Transition name="order-slide">
<div <div
v-if="isOpen && orderUuid" v-if="isOpen && orderUuid"
class="fixed left-0 right-0 lg:left-96 bottom-0 z-50 flex flex-col" class="fixed inset-0 z-40 pointer-events-none"
style="height: 70vh"
> >
<!-- Backdrop (clickable to close) - only covers map area, not panel --> <!-- Backdrop (clickable to close) - only covers map area on desktop -->
<div <div
class="absolute inset-0 -top-[30vh] bg-black/30" class="absolute inset-0 lg:left-96 bg-black/30 pointer-events-auto"
@click="emit('close')" @click="emit('close')"
/> />
<!-- Sheet content --> <!-- Sheet content - positioned at bottom, above backdrop -->
<div class="relative flex-1 bg-black/40 backdrop-blur-xl rounded-t-2xl border-t border-white/20 shadow-2xl overflow-hidden"> <div
class="absolute left-0 right-0 lg:left-96 bottom-0 z-50 flex flex-col bg-black/40 backdrop-blur-xl rounded-t-2xl border-t border-white/20 shadow-2xl overflow-hidden pointer-events-auto"
style="height: 70vh"
>
<!-- Header with drag handle and close --> <!-- Header with drag handle and close -->
<div class="sticky top-0 z-10 bg-black/30 backdrop-blur-md border-b border-white/10"> <div class="sticky top-0 z-10 bg-black/30 backdrop-blur-md border-b border-white/10">
<div class="flex justify-center py-2"> <div class="flex justify-center py-2">