firezone icon indicating copy to clipboard operation
firezone copied to clipboard

ux(gui-client): Buttons in the webview look like they're never clicked

Open ReactorScram opened this issue 1 year ago • 1 comments

Describe the bug

The buttons don't change color when the mouse button is down, so they only appear pressed for 1 or 2 frames

To Reproduce

  1. Open the Settings windows
  2. Go to either tab
  3. Click any button
  4. It looks as if the button was not clicked

The button does twitch because the text changes, at least on the settings Apply button.

Expected behavior

Expect a normal cycle of the button reacting to mouse hover, mouse down, mouse up

Screenshots / Logs

N/A

Platform (please complete the following information)

  • Component (i.e. macOS client / Linux client / Gateway / Admin portal): Tauri Client
  • Firezone Version (e.g. 1.0.0 or N/A): 1.1.2 (latest)
  • OS and version: (e.g. Ubuntu 22.04 or N/A): Windows and Ubuntu
  • Deployment method: (e.g. Docker / Systemd / App Store or N/A): Any

Additional context

N/A

ReactorScram avatar Jul 01 '24 17:07 ReactorScram

Fix here is to add a depressed state to the buttons. Possibly want to style them more like the native OS and not like our website too.

jamilbk avatar Aug 13 '24 17:08 jamilbk

fixed mostly in #9295

jamilbk avatar Jun 10 '25 03:06 jamilbk