App Bridge Next - Remove Title Bar

App Bridge Next - Remove Title Bar

erandagan
Shopify Partner
4 0 3

In the new App Bridge version (https://shopify.dev/docs/api/app-bridge-library) that's installed via CDN, it seems like a default Title Bar is added to all apps. For many apps that already include their own custom design, this is not wanted, takes extra space in the screen, and makes it impossible to migrate to the new app bridge version.

 

How can the default title bar be removed? Is it possible at all?

Reply 1 (1)

SBD_
Shopify Staff
1829 271 414

Hey @erandagan 


Will pass along the feedback!

In the meantime, it appears to use the document's title. To remove you can set the title to an empty value.

 

// E.g.
<title></title>

// or programmatically with javascript
document.title = '';

 

Scott | Developer Advocate @ Shopify