Global Styles: Unnecessary vertical scrollbar appears #65825
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
Note: This issue cannot be reproduced in WP6.7 Beta 1. It can be reproduced in the latest Gutenberg.
A vertical scrollbar may appear in global styles even when the content does not need to scroll vertically.
This issue seems to occur when there is a
RangeControl
at the end of the content. You can see that the tooltip that appears when operating the slider overflows:The tooltip is there even though it is not visually visible, which is why the overflow appears to occur.
Step-by-step reproduction instructions
The easiest steps to reproduce this issue are:
The steps above will render a RangeControl component at the end of your content, which should allow you to reproduce the issue.
You may also need to change your scrollbar display settings to reproduce this issue on a Mac.
Screenshots, screen recording, code snippet
c44d0a60514d9d92a39d8c4417c4a4c2.mp4
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: