Skip to content

Block type menu when search do not appear close to the cursor #1695

@virgile-dev

Description

@virgile-dev

Bug Report

Problematic behavior
When I do /video the menu item is way above my cursor.

Expected behavior/code
I should right above or right bellow my cursor

Steps to Reproduce

  1. /video
  2. See menu item way above or bellow

Environment

  • Docs version: 4.0.0
  • Instance url: docs.numerique.gouv.fr

Possible Solution

Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfrontend

Type

No type

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions