Skip to content

Conversation

@RoboErikG
Copy link
Contributor

The basics

The details

Resolves

Fixes #2513

Proposed Changes

Wrap the call to showPicker() in requestAnimationFrame so that it happens after the editor is positioned.

Reason for Changes

RaspberryPiFoundation/blockly#8646 wrapped field_input.resizeEditor_ in a promise which delayed the positioning of the editor until after the current call stack. This caused it to not be positioned when showPicker() was called.

Test Coverage

Documentation

Additional Information

@RoboErikG RoboErikG requested a review from a team as a code owner May 14, 2025 22:41
@RoboErikG RoboErikG requested review from BenHenning and removed request for a team May 14, 2025 22:41
@RoboErikG RoboErikG requested review from gonfunko and removed request for BenHenning May 14, 2025 22:41
@RoboErikG RoboErikG merged commit f98d974 into RaspberryPiFoundation:rc/v12.0.0 May 14, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants