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

StyleBook for Classic Theme: Resize is not smooth #68978

Closed
3 of 6 tasks
t-hamano opened this issue Jan 31, 2025 · 0 comments · Fixed by #68980
Closed
3 of 6 tasks

StyleBook for Classic Theme: Resize is not smooth #68978

t-hamano opened this issue Jan 31, 2025 · 0 comments · Fixed by #68980
Assignees
Labels
[Feature] Style Book [Status] In Progress Tracking issues with work in progress [Type] Performance Related to performance efforts

Comments

@t-hamano
Copy link
Contributor

Description

In classic themes that support editor styles, you will see the Design submenu in the Appearance menu. You can access the StyleBook through that menu.

The StyleBook canvas can be resized by dragging the handles with the mouse, but it is not smooth.

When I checked with the browser's network tool, it seems that a lot of requests are being made every time the canvas is resized. We need to investigate the exact cause, but this might be related.

Step-by-step reproduction instructions

  • Enable Twenty Twenty-One theme
  • Appearance > Design > Styles
  • Resize the Stylebook canvas

Screenshots, screen recording, code snippet

415641591fd9a77ba139ea19f8965cb8.mp4

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Style Book [Status] In Progress Tracking issues with work in progress [Type] Performance Related to performance efforts
Projects
Development

Successfully merging a pull request may close this issue.

1 participant