Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VJsoneditor step the fist line head where input some words in "code mode" #4

Open
SUT-GC opened this issue Aug 24, 2018 · 2 comments
Open
Labels

Comments

@SUT-GC
Copy link

SUT-GC commented Aug 24, 2018

Versions and Environment

**Vue:2.9.6
**Browsers:chrome
**OS:10.13.4 (17E199)

Steps to reproduce

<v-jsoneditor v-model="testJson">

data: function(){
    return {
      json: {
           "success":true 
        }
    }
}

image

when in code mode, input a new line : "hello":"world", where i input w then the cursor step the fist line head,(may be the "vue-jsoneditor" lead to page auto refresh.

version 1.0.13 has the "bug"

where i use version 1.0.10, it's ok

Expected Behavior

Actual Behavior

Reproduction Link

Other comments

@SUT-GC
Copy link
Author

SUT-GC commented Aug 24, 2018

new image url

@manico manico added the bug label Sep 2, 2018
@BenR1312
Copy link

Can confirm this one one too, 1.0.11 is okay. it looks like the change in 1.0.12 brought in the bug.
my guess is its related to the watcher, but im not 100% sure.
4cc36d1#diff-e4b788d8c6b16c9e8ceb19edc10a5066R34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants