Skip to content

Ionic lab does not render IOS UI #4575

Description

@TylerBurnett

Description:

When using Ionic lab I find that the UI between the two rendered frames (IOS,MD) are exactly the same and do not differ. it appears that Ionic lab only renders MD components in the lab.

image

Steps to Reproduce:

Open ionic lab with any app.

Output:

ionic serve -l
ionic serve --lab

My ionic info:

Ionic:

   Ionic CLI       : 6.11.10 (C:\Users\Tyler\AppData\Roaming\npm\node_modules\@ionic\cli)
   Ionic Framework : @ionic/react 5.1.0

Capacitor:

   Capacitor CLI   : 2.1.0
   @capacitor/core : 2.4.1

Utility:

   cordova-res : 0.15.1
   native-run  : not installed

System:

   NodeJS : v12.18.3 (C:\Program Files\nodejs\node.exe)
   npm    : 6.14.6
   OS     : Windows 10

Other Information:

  • Upgrading to @ionic/lab@3.2.0 or higher does not fix the issue. Instead, it creates a 404 error and doesn't render the lab at all
  • Specific components can be forced into rendering in IOS by using the mode attribute on the specific component (but it can create oversizing issues)
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions