-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
- Nightly
Current Behavior
I upgraded from Ionic Vue v5 to Ionic Vue 6.3.0 and the new ion-datetime widget has problems when used within an ion-item, with text being cut off.
To minimise the problems I switched from the calendar view to the wheel, and changed <ion-label position="floating"> to <ion-label position="stacked">
The bottom of the label text is cut off, as is the right side of the date wheel (less important). Here is a screenshot from Android:

Expected Behavior
It displays without issue
Steps to Reproduce
This is an extract from the component's template, which is included inside a View:
<template>
<div
class="ion-padding ion-margin-vertical error-message"
:class="{ hide: !isFormError }"
>
Please fill in all the fields
</div>
<form>
<ion-item lines="full">
<ion-label position="stacked">DOB</ion-label>
<ion-datetime
presentation="date"
prefer-wheel="true"
v-model="local.dob"
required="true"
></ion-datetime>
</ion-item>
</form>
</template>Code Reproduction URL
https://github.com/pbowyer/ionic-bugreport
Ionic Info
Ionic:
Ionic CLI : 6.20.3 (/Users/****/.asdf/installs/nodejs/18.6.0/.npm/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 6.3.0
Capacitor:
Capacitor CLI : 4.3.0
@capacitor/android : 4.3.0
@capacitor/core : 4.3.0
@capacitor/ios : 4.3.0
Utility:
cordova-res : not installed globally
native-run : 1.7.1
System:
NodeJS : v18.6.0 (/Users/****/.asdf/installs/nodejs/18.6.0/bin/node)
npm : 8.13.2
OS : macOS Monterey
Additional Information
No response