Skip to content

Hotkeys triggered when editing monaco editor in Chromium-based browsers #2297

@QuentinRoy

Description

@QuentinRoy

Describe the bug

While editing a monaco editor snippet, adding a space would move to the next slide, adding a f would enter or exit full screen, adding an o opens the overview, etc. This makes it virtually impossible to edit monaco snippets from slides...

This only happens in Chromium based browsers. It works as expected in Firefox and Safari.

Minimal reproduction

Steps to reproduce the behavior:

  1. Create a new project
pnpm create slidev
cd slidev
pnpm install
pnpm approve-builds
pnpm run dev
  1. Open in a Chromium-based browser, go to slide 15 and type o in one of the snippets

Environment

  • Slidev version: 52.2.4
  • Browser: Chromium 143.0.7449.0 / Arc 1.114.1
  • OS: Mac OS 26.0.1

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions