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

fix: block chooser position in experimental.addBlockButton #6751

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

giuliaghisini
Copy link
Contributor

problem: with
config.experimental.addBlockButton.enabled=true prop
the placement of block chooser was wrong sometimes and search bar or some portion of block ckooser was not visible and usable (expecially when you have a lot of blocks in a block chooser section). See the problem here:

old.mov

With this fix, block chooser will placed bottom to the block, without mentioned problems:

new.mov

Copy link

netlify bot commented Feb 13, 2025

Deploy Preview for plone-components canceled.

Name Link
🔨 Latest commit 51c5362
🔍 Latest deploy log https://app.netlify.com/sites/plone-components/deploys/67adf1675803b700081e597e

Copy link
Member

@ichim-david ichim-david left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@giuliaghisini you've misspelled bugfix this is why the changelog test is crashing. otherwise I agree with this change

Copy link
Collaborator

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change log now describes the problem you fixed. Nice work!

packages/volto/news/6751.bugifx Outdated Show resolved Hide resolved
Copy link
Collaborator

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed change log to 6751.bugfix to pass CI. Looks good now.

@ichim-david already provided technical review. As soon as this is green, please merge. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants