ionic-team/ionic-framework

bug: ion-label does not apply ellipsis when the text is too long

Opened this issue · 0 comments

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

ion-label does not ellipsis when the text is multi-line. This wrong behavior appears in the docs
Screenshot 2024-12-18 at 10 13 32

Expected Behavior

The Ionic v6 docs are ok
Screenshot 2024-12-18 at 10 15 13

Steps to Reproduce

  1. Create a ion-item.
  2. Add a ion-label
  3. Insert a long text

Code Reproduction URL

https://ionicframework.com/docs/api/label

Ionic Info

Ionic:

Ionic CLI : 7.2.0
Ionic Framework : @ionic/angular 8.4.0
@angular-devkit/build-angular : 19.0.3
@angular-devkit/schematics : 19.0.3
@angular/cli : 19.0.3
@ionic/angular-toolkit : 12.1.1

Capacitor:

Capacitor CLI : 6.1.2
@capacitor/android : 6.1.2
@capacitor/core : 6.1.2
@capacitor/ios : 6.1.2

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v18.20.2 (/Users/israel/.volta/tools/image/node/18.20.2/bin/node)
npm : 10.5.0
OS : macOS Unknown

Additional Information

No response