microsoft / pxt-microbit

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

"Import": There is no alert pops up when click "Go ahead! " without choosing file #5714

Open v-katherine opened 4 days ago

v-katherine commented 4 days ago

Describe the bug "Import": There is no alert pops up when click "Go ahead!" without choosing file

Steps to reproduce the behavior 1.Navigate to https://makecode.microbit.org/beta.

  1. Click Import button.
  2. Click Import file card.
  3. Click 'Go ahead!' without choosing any file and observe

Actual behavior: Pops up alert when you click 'Go ahead!' without importing file.

Expect behavior: Pops up alert when you click 'Go ahead!' without importing file.

Screen Recording: alert

Additional context 1.OS: Windows 11 Enterprise 2.Browser: Chrome 3.makecode.microbit,org version: 7.0.13 4.Microsoft MakeCode version: 10.0.23