Skip to content

feat: Remove ion-back-button text #29281

Closed as not planned
Closed as not planned
@KevinLeneschmidt

Description

@KevinLeneschmidt

Prerequisites

Describe the Feature Request

I want to be able to remove the text from the ion-back-button without using text="", because this breaks the page transitions like mentioned here.

Describe the Use Case

Sometimes, you want to use the ion-back-button without any text, just the icon.

Describe Preferred Solution

Explicitly setting text to null should remove any text from the ion-back-button, undefined can be still used to set the default 'Back' text.

Describe Alternatives

No response

Related Code

Link to a repo

Additional Information

Ionic forum link to the topic here

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions