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 we move our cursor forward in a line with the right arrow where one of the words is a hyperlink, the link popup opens up and the cursor jumps to the link URL input field.
Expected Behavior
The pop-up should not open up until we click on the hyperlink text. The cursor should move past the letters in the text one by one without the pop-up opening.
Current Behavior
It jumps to the URL input field as soon as the cursor touches the hyperlink text.
Steps to Reproduce
Open up Storybook => Markdown Editor
Go to the first line which has a hyperlink text with the right arrow.
As soon as the cursor touches the hyperlink text, the link pop-up would open up.
Context (Environment)
Desktop
OS: Windows 10
Browser: Chrome
Version 88.0.4324.182 (Official Build) (64-bit)
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered:
I wonder if this is a bug or a feature. As we can see in the source code there is an explicit if condition to show the model when the cursor is inside the link.
If we let the cursor move forward in the link body, I believe they can also change the text and it will lead to a change in the name of the link. As I can see, the maintainers wanted to only have a single source of changing the link i.e LinkModal.
Bug Report 🐛
When we move our cursor forward in a line with the right arrow where one of the words is a hyperlink, the link popup opens up and the cursor jumps to the link URL input field.
Expected Behavior
The pop-up should not open up until we click on the hyperlink text. The cursor should move past the letters in the text one by one without the pop-up opening.
Current Behavior
It jumps to the URL input field as soon as the cursor touches the hyperlink text.
Steps to Reproduce
Context (Environment)
Desktop
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered: