You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On mobile devices, the SkeletonPage shows the title inline with the back button while the Page component shows the title under the back button (leaving a big blank space between the back button and the other actions)
In addition to causing CLS, are we sure that showing the title under the back button is ok to see?
Expected behavior
I expect to have the same behaviour from the SkeletonPage component and the Page component
Personal preference: I expect the title to be inline with the back button on the Page component
Actual behavior
This is the skeleton page I show the merchant while fetching the data used by the page:
I expect the title to be on the green square, am I wrong?
This is the page the merchant sees after the loading page:
Steps to reproduce
Create a really basic component that has a <Page> and SkeletonPage with title and backAction set or have a look at this CodeSandbox
Summary
Hi there!
On mobile devices, the
SkeletonPage
shows the title inline with the back button while thePage
component shows the title under the back button (leaving a big blank space between the back button and the other actions)In addition to causing CLS, are we sure that showing the title under the back button is ok to see?
Expected behavior
I expect to have the same behaviour from the
SkeletonPage
component and thePage
componentPersonal preference: I expect the title to be inline with the back button on the
Page
componentActual behavior
This is the skeleton page I show the merchant while fetching the data used by the page:
![image](https://private-user-images.githubusercontent.com/58849430/337322381-17d2827d-bcf1-46f0-a160-d0db1ccd74ed.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwMjg0MDYsIm5iZiI6MTcyMjAyODEwNiwicGF0aCI6Ii81ODg0OTQzMC8zMzczMjIzODEtMTdkMjgyN2QtYmNmMS00NmYwLWExNjAtZDBkYjFjY2Q3NGVkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDIxMDgyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNkNDI2OWI3NGI2ODZiNGZmNjJiOTBiNjkzOTYxYWQ3NjhhNTAzNzZmMDk2NGNmMWRkYjg3MDBkODA3ZTI1MGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.hshfzkTvScWny1KgeFjw2hBGayzYDGBsrwYGSbn2VUo)
I expect the title to be on the green square, am I wrong?
This is the page the merchant sees after the loading page:
![image](https://private-user-images.githubusercontent.com/58849430/337322771-2e137d2c-e444-4e28-8be8-590db08c81bf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwMjg0MDYsIm5iZiI6MTcyMjAyODEwNiwicGF0aCI6Ii81ODg0OTQzMC8zMzczMjI3NzEtMmUxMzdkMmMtZTQ0NC00ZTI4LThiZTgtNTkwZGIwOGM4MWJmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDIxMDgyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM4NWVlNWRiZDRiNDMzYmQ0MDZiZTA3YWFmNDgyMDEyZDYzNjVjOWFjZmY2OTNjMmIzZDQ4YmQ1ZWVmZmNkMzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Rw2u1K02oAfITfj2fLbgNe_UiycsSWlOyzXRli3vurY)
Steps to reproduce
Create a really basic component that has a
<Page>
andSkeletonPage
withtitle
andbackAction
set or have a look at this CodeSandboxAre you using React components?
Yes
Polaris version number
13.5.0
Browser
Brave
Device
MacBook Air M1 2020
The text was updated successfully, but these errors were encountered: