vscode-leetcode icon indicating copy to clipboard operation
vscode-leetcode copied to clipboard

[BUG] - Keyboard shortcut for code formatting behaves abnormally on macOS (Firefox)

Open stutidpatel opened this issue 9 months ago • 0 comments

🐛 Bug Report

The code formatting feature using keyboard shortcuts does not work as expected on macOS when using the Firefox browser.

To Reproduce

  1. Go to any problem.
  2. Enter any code in the right panel under </>code heading
  3. Attempt to format the code using the shortcut (Option + Shift + F)
  4. The cursor goes to the first line and disrupts the first line as shown in the snapshot.
Image However, the button to format the code works fine

Expected behavior

Formatted code should display correctly, either inline or in a code block.

Image

Your Environment

  1. OS: macOS (Apple M3)
  2. Firefox 139.0.1 (aarch64)

stutidpatel avatar Jun 02 '25 17:06 stutidpatel