question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: ion-note incorrect location

See original GitHub issue

Bug Report

Ionic version:

[x] 4.x

Current behavior:

In Google Chrome (version 77.0.3865.120),When ion-label and ion-note coexist, if ion-label is displayed in multiple lines, the ion-note display will be offset. This problem does not exist in ionic3. QQ图片20191018200935

Expected behavior: Vertical alignment

Steps to reproduce:

Related code:

https://github.com/lee-vic/ionic-demo.git

<ion-content>
  <ion-list>
    <ion-item detail>
      <ion-label>
        <h2>Title</h2>
        <p>Details</p>
      </ion-label>
      <ion-note slot="end">Note</ion-note>
    </ion-item>
  </ion-list>
</ion-content>

Other information:

Ionic info:

Ionic:

   Ionic CLI                     : 5.2.3 (C:\Users\lee\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework               : @ionic/angular 4.11.1
   @angular-devkit/build-angular : 0.801.3
   @angular-devkit/schematics    : 8.1.3
   @angular/cli                  : 8.1.3
   @ionic/angular-toolkit        : 2.0.0

Utility:

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

System:

   NodeJS : v10.16.1 (C:\Program Files\nodejs\node.exe)
   npm    : 6.9.0
   OS     : Windows 7

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
seravifercommented, Oct 19, 2019

I think I have the solution, I will send a PR.

0reactions
ionitron-bot[bot]commented, Dec 8, 2019

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

bug: ion-note incorrect location · Issue #19689 - GitHub
3865.120),When ion-label and ion-note coexist, if ion-label is displayed in multiple lines, the ion-note display will be offset. This problem ...
Read more >
ion-item - Ionic Framework
Content is placed under the item and displayed when no error is detected. start, Content is placed to the left of the item...
Read more >
Build better forms in Ionic with autocomplete, helper text, and ...
Build better forms in Ionic with autocomplete, helper text, and error messages ... Today you'll learn 4 tips on how to build better...
Read more >
Ionic 6 Angular slot="error" doesn't work with ion-checkbox ...
I am trying slot error , it works for more of the input fields, but seems it doesn't work for ion-checkbox and for...
Read more >
Building an Ionic App with Firebase Authentication & File ...
If you already got something in place you can of course skip this step. ... On top of that we can show some...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found