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

Grid not visible on 2nd instance #40

Open
Steve-Mcl opened this issue Jun 14, 2024 · 1 comment
Open

Grid not visible on 2nd instance #40

Steve-Mcl opened this issue Jun 14, 2024 · 1 comment
Labels
bug Something isn't working size:XS - 1 Sizing estimation point

Comments

@Steve-Mcl
Copy link
Contributor

Current Behavior

If the renderer is used more than once, the grid is not displayed on 2nd (in the DOM) instance

chrome_lbulBWIvdk

Expected Behavior

Grid should be visible

Steps To Reproduce

Open snapshots view on FF cloud
View any snapshot, close,
Compare any snapshots

Environment

  • FlowFuse version: NA
  • Node.js version:
  • npm version:
  • Platform/OS: Windows
  • Browser: chrome

Linked Customers

  • Customer name and/or link to HubSpot contact
@Steve-Mcl Steve-Mcl added bug Something isn't working size:XS - 1 Sizing estimation point labels Jun 14, 2024
@Steve-Mcl
Copy link
Contributor Author

Inspecting the DOM, it is related to the SVGs in that the grid def id #grid is not resolved in the 2nd SVG due to (potentially) duplicate #grid refs. Not sure how to address a ref element - may need to auto gen the ID or see if a class or other other relative identifier can be used in the ref url for generating the grid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size:XS - 1 Sizing estimation point
Projects
None yet
Development

No branches or pull requests

1 participant