microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
721 stars 591 forks source link

It will download as file if close the download dialog #5210

Closed Sheila111 closed 1 year ago

Sheila111 commented 1 year ago

Describe the bug It will download as file if close the download dialog

Steps to reproduce the behavior

  1. Navigate to https://makecode.microbit.org/beta#
  2. Create a project
  3. Connect your microbit to computer
  4. Click Download button
  5. Click Next to get into step2 in the download dialog
  6. Close the dialog

Actual behavior It will download as file if you close the download dialog

Expect behavior The file won't be downloaded if you close the download dialog

Screenshot 1

Additional context 1.OS: Windows11 2.makecode.microbit.org version: 5.1.35 3.Microsoft MakeCode version: 8.6.48

abchatra commented 1 year ago

@Sheila111 this is expected as they clicked on download we want to download the file if they close the webusb dialog.