minbrowser / min

A fast, minimal browser that protects your privacy
https://minbrowser.org/
Apache License 2.0
7.71k stars 684 forks source link

Mouse interaction completely blocked on https://djblue.github.io/portal #2361

Closed adamdavislee closed 5 months ago

adamdavislee commented 6 months ago

Problem

Very strangely, the mouse doesn't work on this site, full stop. It's as though the mouse events are being sent straight through to the browser window (as in the OS window), itself.

Repro

  1. Open djblue.github.io/portal
  2. Try to click anything

System

image
PalmerAL commented 6 months ago

For some reason, they have this CSS on the root element:

.G__5 {
  -webkit-app-region: drag;

In Chrome, this does nothing, but in Electron, this turns the element into a dragging handle for the window instead. (It's probably not ideal that we expose this to webpages, but I don't think it's actually a problem, and I don't see an option in Electron to turn it off).

Perhaps open an issue with the author?

adamdavislee commented 6 months ago

Ope! Completely missed your reply.

Ahh… so that's why. Thanks, @PalmerAL.

Perhaps open an issue with the author?

Dumb question—who's the "author"? Is this not the minbrowser source repo?

PalmerAL commented 6 months ago

Oh, I mean the author of the website, to ask them to change their CSS: https://github.com/djblue/portal/issues

adamdavislee commented 5 months ago

Oh! I understand now, thank you 👍

adamdavislee commented 5 months ago

Would you like me to close this issue?

PalmerAL commented 5 months ago

Sure, I don't think we're going to be changing anything with this.