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

[CLOSED] Code hints jump around when cursor near bottom of window #4544

Open
core-ai-bot opened this issue Aug 29, 2021 · 2 comments
Open

[CLOSED] Code hints jump around when cursor near bottom of window #4544

core-ai-bot opened this issue Aug 29, 2021 · 2 comments

Comments

@core-ai-bot
Copy link
Member

Issue by peterflynn
Saturday Aug 24, 2013 at 07:05 GMT
Originally opened as adobe/brackets#4924


  1. Open Document.js
  2. Scroll so the end of the Document constructor is at the bottom of the viewport
  3. Add a new line at the bottom of the constructor
  4. Type this.getl

Result:
Code hints list swoops all over the place as its height varies and it repeatedly switches between a position below the code and above it.

This has always occurred afaict, but the new animation from@larz0 this sprint makes it much more noticeable by making the jumping more drawn out (and smooth motion tends to draw attention more than snap transitions). I wonder if we should change it to only animate the dropdown's left, and not top or height?

We could also remember if we've flipped over the dropdown position once, and lock it there for the remainder of the code hint session instead of letting it flip back down once the list becomes shorter again. That would remove the repeated flipping, which definitely exacerbates this.

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Saturday Aug 24, 2013 at 07:06 GMT


Nominating for Sprint 30 since you wind up typing near the bottom of the viewport often, so it's easy to hit. (And it's sort of new this sprint).

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Monday Aug 26, 2013 at 21:48 GMT


Confirmed fixed with Larz's change.

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

No branches or pull requests

1 participant