Skip to content

bug: large title transition does not account for empty back button text #28751

Closed
YoutacRandS-VA/eth2-beaconchain-explorer-app
#2

Description

@roman-rr

Prerequisites

Ionic Framework Version

v7.x, Nightly

Current Behavior

Only with @Ionic/angular > 7.5.0, when ion-back-button has empty text value:

Screenshot 2023-12-21 at 15 28 40

Note that text=" " doesn't give a error.

Expected Behavior

Allow text="" for ion-back-button component

Steps to Reproduce

  1. git clone https://github.com/roman-rr/bug-backbutton.git
  2. cd bug-backbutton
  3. npm i
  4. ionic serve
  5. Click button

Code Reproduction URL

https://github.com/roman-rr/bug-backbutton/

Ionic Info

Ionic:

Ionic CLI : 7.1.5 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 7.6.2
@angular-devkit/build-angular : 17.0.7
@angular-devkit/schematics : 17.0.7
@angular/cli : 17.0.7
@ionic/angular-toolkit : 9.0.0

Capacitor:

Capacitor CLI : 5.6.0
@capacitor/android : not installed
@capacitor/core : 5.6.0
@capacitor/ios : not installed

Utility:

cordova-res (update available: 0.15.4) : 0.14.0
native-run : 2.0.0

System:

NodeJS : v20.10.0 (/usr/local/bin/node)
npm : 10.2.3
OS : macOS Unknown

Additional Information

No response

Activity

  1. self-assigned this
    on Dec 21, 2023
  2. changed the title [-]bug: back-button with empty text crash app[/-] [+]bug: large title transition does not account for empty back button text[/+] on Dec 21, 2023
  3. added
    package: core
    type: bug
    on Dec 21, 2023
  4. alexdabast commented on Dec 21, 2023

    @alexdabast

    Faced the same issue. A white space as "text" solve temporary the issue

    <ion-back-button text=" " [defaultHref]="defaultHref"></ion-back-button>

  5. Mdemol commented on Jan 24, 2024

    @Mdemol

    For me this only occurs in iOS mode. Using the temporary solution of @alexdabast for now.

    Visually the app will navigate to the desired page, but without any animations. On MD-mode the animations still occur.

  6. removed their assignment
    on Mar 28, 2024
  7. liamdebeasi commented on Apr 11, 2024

    @liamdebeasi
    Contributor

    Hi everyone,

    Here is a dev build with a proposed fix if anyone is interested in testing: 7.8.5-dev.11713282122.18cabf98

  8. added a commit that references this issue on Apr 30, 2024
    bd8d065
  9. liamdebeasi commented on Apr 30, 2024

    @liamdebeasi
    Contributor

    Thanks for the issue. This has been resolved via #29327, and a fix will be available in an upcoming release of Ionic Framework.

  10. ionitron-bot commented on May 30, 2024

    @ionitron-bot

    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.

  11. locked and limited conversation to collaborators on May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: coretype: bug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions