ionic-team/ionic-framework

feat: navigate to/from views with any HTML element as it's root (no ion-content usage)

Opened this issue · 0 comments

Prerequisites

Describe the Feature Request

Currently you have to use ion-content (along with other optional root elements) to navigate to and from a view.

It would be nice if instead I could use any root element, such as a div.

if needed, maybe the root element could be given some type of tag that the navigation system could use, for example <div slot="content">

Describe the Use Case

This feature simplifies ionic framework's components. Most of the time devs dont need a lot of what the ion content, header & footer provides.

This would also make the navigation system more modular by decoupling it from being tightly bound to the usage of specific components.l

Describe Preferred Solution

No response

Describe Alternatives

No response

Related Code

No response

Additional Information

No response