Skip to content

docs: fix documentation on changing max dropdown height - #10319

Merged
zspriggs merged 1 commit into
RaspberryPiFoundation:mainfrom
zspriggs:document-dropdown-height
Aug 25, 2026
Merged

docs: fix documentation on changing max dropdown height#10319
zspriggs merged 1 commit into
RaspberryPiFoundation:mainfrom
zspriggs:document-dropdown-height

Conversation

@zspriggs

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes #8147

Proposed Changes

Adds documentation on how to set max height of dropdown field.

Reason for Changes

The docs previously described using a property (Blockly.FieldDropdown.MAX_MENU_HEIGHT_VH) that has since been completely refactored out.

Test Coverage

n/a

Documentation

n/a

Additional Information

It might be a slightly specific scenario that someone a) would want to adjust the max height of field dropdowns, b) use a plugin that extends the FieldDropdown class, and c) care that they are both affected by changing max-height.

I was going back and forth on whether to provide the workaround using :has() of if the section should just end by stating that overriding max-height might affect plugins. I erred on the side of caution and kept it in, but can remove if it doesn't seem applicable enough.

@zspriggs
zspriggs requested a review from a team as a code owner August 25, 2026 19:54
@zspriggs
zspriggs requested a review from lizschwab August 25, 2026 19:54
@github-actions github-actions Bot added the PR: docs Adds or updates documentation label Aug 25, 2026
@zspriggs
zspriggs merged commit 41e15d4 into RaspberryPiFoundation:main Aug 25, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: docs Adds or updates documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document how to set max-height of dropdowns dynamically

2 participants