Skip to content
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

Block Editor: URLInput compatibility in smaller containers #68659

Open
ntsekouras opened this issue Jan 14, 2025 · 0 comments
Open

Block Editor: URLInput compatibility in smaller containers #68659

ntsekouras opened this issue Jan 14, 2025 · 0 comments
Labels
[Package] Block editor /packages/block-editor [Type] Bug An existing feature does not function as intended

Comments

@ntsekouras
Copy link
Contributor

By working on a different PR that was using URLInput component in Inspector controls, I observed that this component has some opinionated styles that don't allow the component to properly render in smaller containers.

At least some width styles like this one should be addressed and probably the hiding of suggestions dialog in smaller viewports.

Another good idea would be to be able to pass a ref that will later on be passed in the internal Popover instance as its anchor prop. Right now we need to add a wrapper to the component in order for the suggestions dialog to render properly.

@ntsekouras ntsekouras added [Package] Block editor /packages/block-editor [Type] Bug An existing feature does not function as intended labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Block editor /packages/block-editor [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

1 participant