Skip to content

UI hide / show on Mouse Button events #30

Open

Description

@Albanbrice

There's a disturbing behavior of the mouseDown and mouseUp event of the left, mid and right button that, as a side effect, hide or reveal the UI. This behavior doesn't occur while scrolling the wheel (zoom in/out).
This behavior has been noticed both on local installation and on the official website samples, while browsing with no XR device.
Tested on Linux and Windows, Chrome, Firefox and Brave.
Thanks in advance
Regards

Activity

  1. phoenixbf commented on Apr 20, 2026

    @phoenixbf
    Owner

    Hi,
    if you are referring to the new Hathor front-end and UI elements hiding on user interaction, that is intentional.
    It was a behaviour also present in the previous version of Hathor, as well as in well-established viewers like SketchFab, to maximize rendered area during user interaction (especially on mobile), temporarily hiding a few UI elements.

    It is a specific behaviour of the official front-end, so custom apps can freely adopt (or not) this approach.

    Let me know if this was referred to this behavior.
    One option would be to provide sort of settings for this in Hathor

  2. Albanbrice commented on Apr 20, 2026

    @Albanbrice
    Author

    Thanks, that's exactly what I was referring to. I found the way to silence this in the public/hathor/uiI.js file... By the way it would be nice to have a toogle to hide/reveal the ui on purpose.. I haven't been into sketchfab for a while, so I don't remember noticing this design. Thanks again for the great job !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions