FancyMenu

FancyMenu

103M Downloads

Mouse wheel blocked by non-interactive Web Browser overlay on Vanilla screens

Mowzy-Graphics opened this issue · 0 comments

commented

Describe the bug
When a Web Browser element is placed as an overlay layer above a vanilla screen and set to Interactible: Disabled, mouse wheel input does not reach the underlying vanilla UI, even when "Custom Elements behind Vanilla" is enabled. Scrollable vanilla lists cannot be scrolled with the mouse wheel, although click-and-dragging the scrollbar still works.

Context (Use Case)
I’m using the Web Browser element purely for visuals: a tiny particle animation overlay (CSS/JS) to add ambient particles to menus. The element is decorative only and set to Interactible: Disabled, but it still prevents scrolling on vanilla screens beneath it.

To Reproduce
Steps to reproduce the behavior (e.g.):

  1. Open FancyMenu and create (or edit) a layout that renders above a vanilla screen (e.g., Main Menu → then navigate to a scrollable vanilla screen such as Language, Multiplayer server list, or Resource Packs).
  2. Add a Web Browser element (used here for lightweight particle effects).
    • Position: anywhere (covering any portion above the vanilla list is enough).
    • Layer/Z-order: on top of the vanilla screen.
    • Interactible: Disabled.
  3. Enter the game and open a vanilla screen with a scrollable list.
  4. Try to use the mouse wheel over the list.

Expected behavior
With Interactible: Disabled, the Web Browser element should not capture input and mouse wheel events should pass through to the vanilla screen beneath.

Game Log
no interesting logs

Notes / Possible Cause

  • The Web Browser element likely still registers/consumes scroll input even when Interactible is disabled (focus/hover or wheel handlers not short-circuited).
  • Behavior suggests the “non-interactive” state disables clicks but not mouse wheel events.

Basic Information (please complete the following information):

  • OS: Windows
  • Minecraft: 1.21.1
  • Loader: NeoForge 21.1.206
  • FancyMenu: 3.7.0
  • Mods: ~200 (none known to modify vanilla UIs)
Image