Web prototype click bug?

macOS Version: Monterey
Principle Version: 6.18 (6022)

Hi everyone,

I’m having a strange issue with one of my web prototypes (in the mac app preview it works fine).
In short, the button (red rectangle) doesn’t work (on tap) and chrome console spits out this error:

Uncaught TypeError: Cannot read properties of undefined (reading 'deactivate')
    at e.js_mediaDeactivate (viewer_1656198610.js:3:8947)
    at binary_1656198610.wasm:0x21753
    at binary_1656198610.wasm:0xab1b
    at binary_1656198610.wasm:0x1cdeb
    at binary_1656198610.wasm:0x1cc8f
    at binary_1656198610.wasm:0x1b1eb
    at binary_1656198610.wasm:0xce3b
    at binary_1656198610.wasm:0xb2d9
    at te (viewer_1656198610.js:1:1479)

I’ve managed to isolate this issue from my prototype and here’s a simplified .prd file: Dropbox - Principle Bug.prd - Simplify your life

Web view: Principle

Steps to reproduce the behavior: Open the prototype, publish to web. Open console (Chrome or Safari). Click on the red rectangle and observe the console.

Expected behaviour is a transition to another screen (blue).

What’s weird, changing certain layer names fixes the issue but it’s not a tangible solution since my original prototype has a couple hundred screens…

Been using Principle for years and this is the first time I’ve come across something like this.

When exported to local HTML, the prototype works. So it’s only the online version.

Just fixed the bug. You can refresh the page to get the fix. Thanks for reporting this and providing the file!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.