-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)Link components (LinkControl, URLInput) and integrations (RichText link formatting)[Package] Format library/packages/format-library/packages/format-library[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Previously: #20052 (review), #20052 (comment)
Describe the bug
When editing a paragraph link on a narrow viewport, the popover may stretch beyond the edges of the screen.
To reproduce
Steps to reproduce the behavior:
- (Prerequisite) Shrink screen (manually or via emulation) or use mobile device
- Navigate to Posts > Add New
- Insert a paragraph
- Click in the block toolbar to insert a link
- Note that link editor may stretch beyond the screen edges.
Expected behavior
Link editor shows within the constraints of the viewport.
Additional context
For solution:
- Consider how this behaved previously.
- See if there are fixed or minimum widths in any of the relevant components that may be the cause of this issue (LinkInlineUI, LinkControl, URLInput)
- Consider centering the popover on small devices, rather than opening to the right.
Metadata
Metadata
Assignees
Labels
[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)Link components (LinkControl, URLInput) and integrations (RichText link formatting)[Package] Format library/packages/format-library/packages/format-library[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended