Skip to content

Top Navigation Version Switch and Language Dropdown Menus Not Displaying Properly in Safari (v26.1) #5050

@jiangshengdev

Description

@jiangshengdev

Describe the bug

2025-12-04.15.32.07.mov

On websites using the VitePress default theme, the version switch dropdown menu (2.0.0-alpha.15)​ and language switch dropdown menu​ located on the right side of the top navigation bar fail to display correctly in Safari browser (version 26.1 (21622.2.11.11.9)).

https://vitepress.dev/zh/guide/getting-started

Reproduction

Open a VitePress-built website in Safari (version 26.1).
Click the version switch button​ (displaying e.g., "2.0.0-alpha.15") or the language switch button​ on the far right of the top navigation bar.

Expected behavior

The dropdown menu should appear normally and be fully visible

System Info

npx envinfo --system --npmPackages vitepress --binaries --browsers

  System:
    OS: macOS 26.1
    CPU: (12) arm64 Apple M2 Max
    Memory: 368.81 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.11.1 - /usr/local/bin/node
    Yarn: 1.22.22 - /usr/local/bin/yarn
    npm: 11.6.2 - /usr/local/bin/npm
    pnpm: 10.23.0 - /usr/local/bin/pnpm
    Deno: 2.5.6 - /Users/jiangsheng/.deno/bin/deno
  Browsers:
    Chrome: 143.0.7499.40
    Safari: 26.1
  npmPackages:
    vitepress: 2.0.0-alpha.15 => 2.0.0-alpha.15

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions