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

Selecting template-part and scrolling out of view reveals extra scrollbar. #42920

Open
Humanify-nl opened this issue Aug 3, 2022 · 0 comments
Labels
[Block] Template Part Affects the Template Parts Block [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Bug An existing feature does not function as intended

Comments

@Humanify-nl
Copy link

Humanify-nl commented Aug 3, 2022

Description

When a template-part is selected in site-editor, and it is scrolled out of view, an extra scrollbar appears on the container .interface-interface-skeleton__content. It appears to overflow and setting overflow: hidden solves the problem, but this does not seem like not a good solution.

Step-by-step reproduction instructions

  1. Build a simple template with a template-part (try footer) in the site editor, so that it is out of view when viewport is on top.
  2. Select the template-part, and scroll it out of view.
  3. See the extra scrollbar appear on the container with class: .interface-interface-skeleton__content.
  4. Deselect the template-part and see it disappear again.

Screenshots, screen recording, code snippet

wp601-extra-scrollbar

Environment info

  • WordPress 6.0.1.
  • No Gutenberg plugin.

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

@Humanify-nl Humanify-nl changed the title Selecting template-part reveal extra scrollbar Selecting template-part and scrolling out of view reveals extra scrollbar. Aug 3, 2022
@kathrynwp kathrynwp added [Feature] Full Site Editing [Type] Bug An existing feature does not function as intended [Block] Template Part Affects the Template Parts Block labels Aug 4, 2022
@annezazu annezazu added [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") and removed [Feature] Full Site Editing labels Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Template Part Affects the Template Parts Block [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants