Skip to content

[BUG]Web interface buttons stop responding in FireFox #1962

@fastbike

Description

@fastbike

Describe the bug
The buttons on the web interface stop responding after page has become inactive

To Reproduce
Open the web server in FireFox, navigate away to a separate tab after the page loads. Switch back after using other pages, the timeout will depend on how many other tabs you have loaded. SM such as Discord uses lots of memory so FF will unload inactive pages, which means the scripts on the BE page are no longer available.

Expected behavior
Buttons respond e.g. "Change Settings" shows the settings page

Screenshots
The browser developer tools page shows the error

Image

Version and settings (please complete the following information):

  • Please attach screenshot of configuration for easier debugging
  • Software version: 9.3.2
  • Battery used: Nissan LEAF
  • Inverter communication protocol: BYD Modbus
  • Hardware used for Battery-Emulator: Stark CMR
  • GPIO controlled contactors: yes
  • MQTT: yes

I have not tested this in other browsers. This is a different behaviour to earlier versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions