Skip to content

fix(appbar): keep the medium and large title below the actions - #5285

Open
Priyanshu0007 wants to merge 1 commit into
callstack:mainfrom
Priyanshu0007:fix/appbar-title-covers-back-action
Open

Priyanshu0007 wants to merge 1 commit into
callstack:mainfrom
Priyanshu0007:fix/appbar-title-covers-back-action

Conversation

@Priyanshu0007

Copy link
Copy Markdown

Motivation

In medium/large the title grows up from the bar's bottom. At large text sizes it covers the actions, so tapping back runs the title's onPress. The bar now grows so the title stays below the actions. Default heights unchanged.

Related issue

Fixes #5280

Screenshots / Videos

iOS before/after
https://github.com/user-attachments/assets/fddbef1e-935c-4e37-a1d5-103d51ab9e76
https://github.com/user-attachments/assets/be494602-56de-490b-9802-59024ad94251
Android before/after
https://github.com/user-attachments/assets/e6815fee-8eac-4e2c-b6d9-95868393a9d9
https://github.com/user-attachments/assets/b2606c92-e7e3-4e72-99e1-cf332d44fe36
Web before/after
https://github.com/user-attachments/assets/049ec83b-d33b-47bc-8e59-fe505bbfeb34
https://github.com/user-attachments/assets/9e1f7303-6abb-4b4a-8fd8-91186be76b6c

Test plan

Largest text size → Appbar example → Medium/Large → tap back: it goes back (before: "Heading pressed").

In `medium` and `large` modes the title is anchored to the bottom of a
fixed-height bar and grows upward. At larger text sizes, or with a taller
custom title or `titleStyle`, it reached the actions row and took the
presses of the back action.

The bar now grows so the title starts below the actions' 48dp touch
targets. Default heights (112 and 152) are unchanged.

Fixes callstack#5280
@Doberjohn Doberjohn added this to the 6.0.0 milestone Nov 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Appbar: in medium and large modes the title covers the back action at larger text sizes

2 participants