You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When typing text starting with the @ symbol, the Enter key functionality does not work as expected in certain scenarios:
Actual Mention (e.g., @actualMention): The popup appears as expected and when selecting from the popup, the behavior is correct.
Plain Text (e.g., @monaco-editor/react): This causes an issue where the Enter key does not move to the next line. Even when text is added after the @, it does not allow the user to hit Enter to create a new line.
Also, this same bug is in the active tasks editor as well because the same component is being used there.
The issue occurs when the @ symbol and the text that follows it have the same style. The problem is most noticeable when the following occurs:
@packages → Both the @ and packages text have the same styles (non-bold).
@packages → Both the @ and packages text are bold.
@packages → The @ is non-bold while the text packages is bold, which does not trigger the issue.
The issue also arises when both the @ symbol and the text are italicized { basically if both text and symbol of same style }. In this case, the Enter key doesn’t move to the next line either.
Acceptance Criteria
Users should be able to type @ and see a popup with matching users.
When a user selects a mention from the popup, it should be inserted correctly.
If no matches for the user are found, pressing Enter after typing @ and some text should create a new line (not stuck in the current line).
Steps to Reproduce
Start typing @ in a text editor.
Add some text, e.g., @monaco-editor/react or @packages.
Observe that when both the @ symbol and the following text have the same style (both non-bold or both bold), pressing Enter does not move to the next line.
Expected Behavior
When no user matches are found after typing @ and text, pressing Enter should move the cursor to the next line.
If a user match is found, hitting Enter should select the user and insert it into the text.
Triage is performed to find the root cause of the bug, timeboxed to ~1 hour.
Estimated effort: 1 hour to triage. More if the root cause is already identified.
The text was updated successfully, but these errors were encountered:
Issue - Bug
20.18.1
10.8.2
Description
When typing text starting with the @ symbol, the Enter key functionality does not work as expected in certain scenarios:
Also, this same bug is in the active tasks editor as well because the same component is being used there.
The issue occurs when the @ symbol and the text that follows it have the same style. The problem is most noticeable when the following occurs:
The issue also arises when both the @ symbol and the text are italicized { basically if both text and symbol of same style }. In this case, the Enter key doesn’t move to the next line either.
Acceptance Criteria
Steps to Reproduce
Expected Behavior
When no user matches are found after typing @ and text, pressing Enter should move the cursor to the next line.
If a user match is found, hitting Enter should select the user and insert it into the text.
Triage is performed to find the root cause of the bug, timeboxed to ~1 hour.
Estimated effort: 1 hour to triage. More if the root cause is already identified.
The text was updated successfully, but these errors were encountered: