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
Hide the quick side inserter when the user is typing #25548
Conversation
|
Size Change: +4 B (0%) Total Size: 1.19 MB
ℹ️ View Unchanged
|
|
This works as advertised, I was thinking this was the expected behavior :) It seems there's a failing e2e tests, we may want to add a call to move the mouse before opening the inserter there as it might be hidden now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
I don't remember if we intended the current behaviour because so much has changed, but it makes sense to preserve the is typing flair when you come from adding new lines of text. |
|
I just have a vague recollection of writing some is-typing specific CSS to accomplish the same, but it must've not come to pass. |
|
Right, it's also trickier to keep state in CSS |
This covers cases where on entering a new line the + would flash into appearance and out again
3244276
to
9ed0066
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍

This tweak covers cases where on entering a new line (pressing Enter) the [+] would become briefly visible before disappearing again with the first characters typed.