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

[html] auto rename weird cursor state management #86158

Closed
rebornix opened this issue Dec 3, 2019 · 3 comments
Closed

[html] auto rename weird cursor state management #86158

rebornix opened this issue Dec 3, 2019 · 3 comments
Assignees
Labels
*as-designed Described behavior is as designed info-needed Issue requires more information from poster
Milestone

Comments

@rebornix
Copy link
Member

rebornix commented Dec 3, 2019

Testing #85973

<html>
    <foo>
    </foo>
</html>
  • put cursor in the middle of foo of line 2
  • press arrow down then up
  • it's weird as it behaves like I'm pressing arrow left and right
@octref
Copy link
Contributor

octref commented Dec 5, 2019

Where exactly in <foo> are you putting it? Can't repro.

@octref octref added the info-needed Issue requires more information from poster label Dec 5, 2019
@octref octref added this to the November 2019 milestone Dec 5, 2019
@rebornix
Copy link
Member Author

rebornix commented Dec 5, 2019

I updated the snippet

<html>
    <foo>
    </foo>
</html>

Kapture 2019-12-05 at 11 37 13

@octref
Copy link
Contributor

octref commented Dec 5, 2019

This is unfortunately expected behavior:

Initial:

<html>
    <foo|>
    </foo|>
</html>

Down button

<html>
    <foo>
    </fo|o>
</html>|

HTML kicks in to remove mirrored cursor

<html>
    <foo>
    </fo|o>
</html>

HTML kicks in again to add mirrored cursor from the end tag to beginning tag

<html>
    <fo|o>
    </fo|o>
</html>

@octref octref closed this as completed Dec 5, 2019
@octref octref added the *as-designed Described behavior is as designed label Dec 5, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants