Skip to content

Element picker and duplicate code #206

Open
@GRZLY53

Description

@GRZLY53

Hi,

I am using the most recent docker build with gpt-4o. The initial prompt works fine and generates a great v0 for my project. Unfortunately when I try to manipulate the v0 by using the element picker, there are several issues.

I can choose an element and send a custom promt, but afterwards a few things happen:

  1. The preview frame doesn't auto-refresh anymore. It also doesn't react to a manual "refresh frame".
  2. The code gets generated, but since I can't see the preview, I have to refresh the whole page.
  3. After refreshing the page, the code duplicates.

Does anyone else experience this behaviour? I wasn't able to resolve myself. I use everything out of the box and also tried different LLMs and different browsers and did a complete new setup. Nothing worked for me so far.

Otherwise it is a beautiful tool, best regards!

EDIT: It seems like there is a problem with theroom.js, that causes the a stop. Here is a typical log:

theroom.js:145
Uncaught TypeError:
Cannot read properties of undefined (reading 'remove')
at Object.stop (theroom.js:145:1)
at index.html?id=3Y5VUVfH:559:22
stop @ theroom.js:145
(anonymous)@index.html?id=3Y5VUVfH:559

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions