snaps icon indicating copy to clipboard operation
snaps copied to clipboard

Support interactive UI in the simulator

Open FrederikBolding opened this issue 1 year ago • 2 comments

The simulator still crashes when you try to use interactive UI in a handler:

        "stack": "TypeError: i is not a function\n    at https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:421917\n    at https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:420311\n    at Object.next (https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:420416)\n    at u8 (https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:418769)\n    at a (https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:422204)\n    at https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:422265\n    at new Promise (<anonymous>)\n    at n (https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:422145)\n    at methodImplementation (https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:422299)\n    at ei._executeRestrictedMethod (https://metamask.github.io/snaps/snaps-simulator/staging/vendor/vendor.js:304:100862)",
        "message": "i is not a function"

FrederikBolding avatar May 03 '24 08:05 FrederikBolding

I also meet this issue.

huweihong avatar May 09 '24 12:05 huweihong

nice

Ebrahim1997r avatar May 12 '24 15:05 Ebrahim1997r