-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Navigation Block: Enter key shouldn't add line break in menu item #18208
Comments
Added to the Navigation block project for visibility, but please move it out or close if deemed unimportant. |
For now, going to mark this as needs design feedback. It certainly does need thinking but not sure a design needs creating yet. |
I experienced this over here: #18353 (comment) and it felt really odd. I expected different results when hitting |
Removing design feedback label as I think we have it. |
@mcsf @mapk Would be good to clarify the desired behaviour so that we can see if it fits into the current behaviour that RichText supports (onReplace, onSplit, onDelete etc). I think there are two options:
I think the first option seems reasonable, but it might require some modifications to how RichText handles The second option seems unusual in this context, I don't really see a use case for splitting a link in two. The closest block to this one seems like the Buttons block, which is also basically a set of links. Does it seem like this behavior should also exist there? |
What do you think @karmatosed? |
This one I 'think' feels right. I'm wondering if we are limiting a user case for having it work just like a paragraph? That's my only concern with limiting. |
Describe the issue
This is both a bug report and an enhancement request.
To reproduce
Steps to reproduce the behavior:
Observed
We remain in the same menu item, but now this item's text contains a line break.
Expected behavior
That's up to us to decide.
The text was updated successfully, but these errors were encountered: