facebook / docusaurus

Easy to maintain open source documentation websites.
https://docusaurus.io
MIT License
57.02k stars 8.59k forks source link

The navigation menu and the search popup are not scrolled correctly with the mouse wheel in Chrome #5101

Closed gearcoded closed 3 years ago

gearcoded commented 3 years ago

🐛 Bug Report

Prerequisites

Description

When I try to scroll the navigation and the search menus with the mouse wheel in Chrome/Chromium, it is not working correctly. It is strange, but it is working correctly in Vivaldi (Chromium engine). It is also working correctly in Firefox.

Have you read the Contributing Guidelines on issues?

Yes.

Steps to reproduce

  1. Open the link in Chrome: https://docs.dhtmlx.com/suite/
  2. Open the entries in the left navigation menu.
  3. Try scrolling the menu down with the mouse wheel.
  4. The menu is not scrolled.
  5. Type i in the search popup.
  6. Try scrolling the popup with the mouse wheel.
  7. The popup is not scrolled.

Expected behavior

The navigation menu and the search popup should be scrolled.

Actual behavior

The whole page is scrolled.

Your environment

Reproducible demo

Demo: https://docs.dhtmlx.com/suite/search/

Videos: https://files.dhtmlx.com/30d/ff8eb5c7e6f665be329d6629a8c8fc3e/vokoscreen-2021-06-25_16-49-56.mkv https://files.dhtmlx.com/30d/3b53b408fea61265ce46c5c49d882518/vokoscreen-2021-06-25_17-10-32.mkv

slorber commented 3 years ago

This looks like 2 distinct issues right?

Search

I can't reproduce the issue where the search modal is displayed and where the background page scroll instead of the modal content, anyone else can?

Sidebar

I can't reproduce either


Can you please test on another computer, other browsers, in private session, with all your browser plugins disabled etc?

Chrome 78.0.3904.108 is also quite old, why aren't you using a more recent version? Still, it should work

gearcoded commented 3 years ago

@slorber, I tried it on a different operating system, Kubuntu 20.04, and it is also reproduced in Chrome. I tried it on Windows in Chrome, and it is not reproduced there.

In all OSes, I have Chrome 91. It seems that the text in parentheses is confusing, so I will remove it.

I tried to disable the CrxMouse Chrome™ Gestures extension, and the issue is no longer reproduced on Linux.