vaadin / vaadin/docs

Context Menu component demos are not working when navigating from other page

Open
#4,368 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
AsciiDoc
Stars
38
Forks
225
Avg merge
1d 4h
Merged PRs (30d)
170

Description

This one is a bit tricky to reproduce. When you go directly to Context Menu Component page, then it cannot be reproduced and the context menu opens fine. However, using the steps below I was able to reproduce the issue repeatedly:

  1. Go to https://vaadin.com/docs/latest/
  2. Using the left navigation menu go to Components -> Menu Bar component (maybe it can be reproduced also when visiting a different component, but with Menu Bar it works for me)
  3. Wait until the Menu Bar component demos are loaded and visible (I'm using the Flow variants)
  4. Using the left navigation menu go to Contextr Menu component
  5. Wait until the Context Menu demos are loaded and visible (also using Flow variant)
  6. Try to right-click the first demo
  7. Expected: A context menu should appear
  8. Actual behavior: The context menu is not visible. Instead, only a small "circle" is shown:
Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Follow the documented navigation sequence from the documentation home page through the Menu Bar component to the Context Menu component, using the Flow demos. Compare that path with opening the Context Menu page directly, then verify that right-clicking the first demo displays the context menu instead of only the small circle.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.