microsoft / microsoft/pxt-microbit

Simulator fails to load when clicking Run in the Example section of Bluetooth help cards

Open
#6,712 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P2 sidedocs Simulator
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

Describe the bug
When opening a Bluetooth help card that contains an Example section and clicking Run, the simulator fails to load. Instead, a persistent white box displaying “loading…” appears, and the simulator never renders.

Steps to reproduce the behavior:

  1. Navigate to https://makecode.microbit.org/beta
  2. Create a new project to open the editor.
  3. Click Help icon, then select the Reference link.
  4. Scroll down and click Bluetooth card.
  5. Open any Bluetooth card that includes an Example section.
  6. In the Example section, click the Run button.
  7. Obverse the simulator behavior.

Actual behavior
The simulator area displays a white box with “loading…” indefinitely after clicking run.

Expected behavior
The simulator should load successfully and display the example animation, consistent with other examples in the reference documentation.

Screenshots
Image

Additional context
1.OS: Windows 11 25H2
2.Browser: Chrome, Edge, and Firefox
3.makecode.microbit.org version: 8.1.9
4.Microsoft MakeCode version: 12.3.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue from the Bluetooth reference help card's Example section by clicking Run, then inspect the help-card example and simulator loading entry points. Verify the behavior across the listed browsers and confirm that the example animation renders instead of leaving a persistent “loading…” box.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.