Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigating away from page causes Gauge to re-render incorrectly #763

Open
gdziuba opened this issue Apr 9, 2024 · 4 comments
Open

Navigating away from page causes Gauge to re-render incorrectly #763

gdziuba opened this issue Apr 9, 2024 · 4 comments
Labels
bug Something isn't working needs-triage Needs looking at to decide what to do

Comments

@gdziuba
Copy link
Contributor

gdziuba commented Apr 9, 2024

Current Behavior

image
Navigate away and back to the page and get this:
image

Discord link

Expected Behavior

Icons and locations to remain the same.

Steps To Reproduce

No response

Environment

  • Dashboard version:
  • Node-RED version:
  • Node.js version:
  • npm version:
  • Platform/OS:
  • Browser:

Have you provided an initial effort estimate for this issue?

I can not provide an initial effort estimate

@gdziuba gdziuba added bug Something isn't working needs-triage Needs looking at to decide what to do labels Apr 9, 2024
@jtemple967
Copy link

jtemple967 commented Apr 9, 2024

Attaching my flow as reference. Basically I have a 2.0 dashboard with 3 pages. One displays current weather conditions (attached screenshot is a partial part of that page). Another page displays a 5 day forecast and another is a page where you supply settings for the weather station.

Steps to reproduce:

  1. Display the "Current Conditions" page
  2. Using the navigation bar, select the "Forecast" page
  3. Using the navigation bar, navigate back to the "Current Conditions" page. The visual elements are not displaying correctly.

Note that refreshing the page redraws the controls correctly however the next "injection" does not seem to fix the display issues.

You can try this out here:
http://temples.tplinkdns.com:1880/dashboard

Attaching my flow definition here as well.
Weather Station.json

@colinl
Copy link
Contributor

colinl commented Apr 9, 2024

Which version of @flowfuse/node-red-dashboard are you using?

@jtemple967
Copy link

Which version of @flowfuse/node-red-dashboard are you using?

V 1.7.1

@m-schaeffler
Copy link
Contributor

I have seen such a behavior already since quite a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Needs looking at to decide what to do
Projects
Status: Backlog
Development

No branches or pull requests

4 participants