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

fix(bug): Properties Panel Freeze Upon Element Deletion in Simulation Area #309

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Darshan808
Copy link
Contributor

Fixes #308

This issue has been resolved by removing unnecessary code that caused the properties panel to freeze when an element was deleted in the simulation area. Previously, the code was checking if the last selected element was a new element or not, and upon deletion, when the last selected element became undefined, it caused errors. By removing this portion from the showPropertiesPanel() function, the properties panel now displays project properties instead of freezing upon element deletion, improving the overall user experience.

Impact

1. The properties panel now functions smoothly even after deleting elements in the simulation area.

2. Users no longer experience freezing or unresponsiveness when interacting with the properties panel.

Copy link

netlify bot commented May 10, 2024

Deploy Preview for circuitverse ready!

Name Link
🔨 Latest commit c5f15be
🔍 Latest deploy log https://app.netlify.com/sites/circuitverse/deploys/663d9476b0b0420008185a42
😎 Deploy Preview https://deploy-preview-309--circuitverse.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐞 Bug: [ Properties Panel Freezes When Elements are Deleted in Simulation Area ]
1 participant