Jump to content

Viewer gets out of control on iOS


MINT
 Share

Recommended Posts

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>BabylonJS Viewer - Basic usage</title>
        <style>
            babylon {
                max-width: 800px;
                max-height: 500px;
                width: 100%;
                height: 600px;
            }
        </style>
    </head>

    <body>
        <babylon model="https://playground.babylonjs.com/scenes/Rabbit.babylon"></babylon>
        <script src="https://viewer.babylonjs.com/viewer.min.js"></script>
    </body>

</html>

This is an official sample I downloaded from babylonjs.com. I'm able to orbit on my android device (Chrome), but on iOS device, the viewport just get stuck. Any solution?

Link to comment
Share on other sites

Hi, 

Interesting issue. Can you explain further what you mean with "stuck"? Is the navigation bar at the bottom not working as well? Is the rabbit shown, or not at all? Any way of shading a screenshot as well?

I have no iOS device next to me ATM, but I should have one tomorrow to test with.

Link to comment
Share on other sites

  • Wingnut unfeatured this topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...