fixes
Build And Push Image / docker (push) Successful in 2m55s
Details
Build And Push Image / docker (push) Successful in 2m55s
Details
This commit is contained in:
parent
42d1d012c1
commit
3894295569
|
|
@ -34,6 +34,8 @@
|
||||||
'country-selector--open': dropdownOpen,
|
'country-selector--open': dropdownOpen,
|
||||||
'country-selector--mobile': isMobile
|
'country-selector--mobile': isMobile
|
||||||
}"
|
}"
|
||||||
|
@click="toggleDropdown"
|
||||||
|
@touchstart="handleTouchStart"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
:src="flagUrl"
|
:src="flagUrl"
|
||||||
|
|
@ -311,9 +313,10 @@ const closeDropdown = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleTouchStart = (event: TouchEvent) => {
|
const handleTouchStart = (event: TouchEvent) => {
|
||||||
// Prevent default to avoid unwanted behaviors on mobile
|
// Allow natural touch behavior, just ensure dropdown works
|
||||||
if (isMobile.value) {
|
if (!dropdownOpen.value && !props.disabled) {
|
||||||
event.preventDefault();
|
dropdownOpen.value = true;
|
||||||
|
searchQuery.value = '';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -324,10 +327,8 @@ const handleOverlayTouch = (event: TouchEvent) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleCountryTouch = (event: TouchEvent) => {
|
const handleCountryTouch = (event: TouchEvent) => {
|
||||||
// Prevent default touch behaviors for better mobile experience
|
// Allow touch to work naturally for country selection
|
||||||
if (isMobile.value) {
|
// Don't prevent default as it interferes with click events
|
||||||
event.preventDefault();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Initialize from modelValue
|
// Initialize from modelValue
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
:disabled="loading"
|
:disabled="loading"
|
||||||
required
|
required
|
||||||
@input="updateField('first_name', $event.target.value)"
|
@update:model-value="updateField('first_name', $event)"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" sm="6">
|
<v-col cols="12" sm="6">
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
:disabled="loading"
|
:disabled="loading"
|
||||||
required
|
required
|
||||||
@input="updateField('last_name', $event.target.value)"
|
@update:model-value="updateField('last_name', $event)"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
:disabled="loading"
|
:disabled="loading"
|
||||||
required
|
required
|
||||||
@input="updateField('email', $event.target.value)"
|
@update:model-value="updateField('email', $event)"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<PhoneInputWrapper
|
<PhoneInputWrapper
|
||||||
|
|
@ -98,7 +98,7 @@
|
||||||
rows="3"
|
rows="3"
|
||||||
:disabled="loading"
|
:disabled="loading"
|
||||||
required
|
required
|
||||||
@input="updateField('address', $event.target.value)"
|
@update:model-value="updateField('address', $event)"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<MultipleNationalityInput
|
<MultipleNationalityInput
|
||||||
|
|
@ -408,6 +408,48 @@ onMounted(async () => {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
/* Prevent overscroll bounce on mobile Safari */
|
||||||
|
overscroll-behavior: none;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Fix for mobile Safari overscroll */
|
||||||
|
html, body {
|
||||||
|
overscroll-behavior: none;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
height: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Safari-specific fixes */
|
||||||
|
@supports (-webkit-touch-callout: none) {
|
||||||
|
.signup-container {
|
||||||
|
background-attachment: scroll;
|
||||||
|
position: fixed;
|
||||||
|
overflow-y: auto;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Ensure background extends beyond viewport */
|
||||||
|
.signup-container::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: -100px;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: -100px;
|
||||||
|
background: linear-gradient(rgba(163, 21, 21, 0.7), rgba(0, 0, 0, 0.5)),
|
||||||
|
url('/monaco_high_res.jpg');
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-card {
|
.signup-card {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue