ionic-team / ionic-team/ionic-framework

bug: stacked label line height causes letters like j, g, and p to be cut off

Open
#20,150 4 comments 2 reactions 0 assignees View on GitHub
package: core type: bug
Dominant language
TypeScript
Stars
52.7k
Forks
13.3k
Avg merge
1d 15h
Merged PRs (30d)
51

Description

**Ionic version: 4.11.7**

**I'm submitting a ...**
[X] bug report

**Current behavior:**
For ion-item with a stacked ion-label with ion-input or ion-textarea, the characters 'jgp' are cutoff at the bottom. I am using latest version of chrome on MacOs and it is in MD mode. Seems to be ok if I slightly zoom in or out but default 100% view these characters are cutoff. See image below where at pink highlight:
stacked_label_cutoff

stacked_label_cutoff_closeup

**Expected behavior:**
All stacked characters should be shown in full.

**Steps to reproduce:**
```


Caption - Check 'jjggpp' Cut Off

```

**Ionic info:**
```
Ionic:

Ionic CLI : 5.2.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.11.7
@angular-devkit/build-angular : 0.802.2
@angular-devkit/schematics : 8.3.21
@angular/cli : 8.3.21
@ionic/angular-toolkit : 2.1.1

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.0.0, browser 5.0.4
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 9 other plugins)

Utility:

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

System:

ios-deploy : 1.9.1
NodeJS : v10.10.0 (/usr/local/bin/node)
npm : 6.13.4
OS : macOS Mojave
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.