-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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: Canvas jitters on page refresh on an application where widgets don't occupy the entire width of the canvas #13917
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Unable to find test scripts. Please add necessary tests to the PR. |
Unable to find test scripts. Please add necessary tests to the PR. |
1 similar comment
Unable to find test scripts. Please add necessary tests to the PR. |
}); | ||
|
||
return initialized; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can return a clean up function return () => { observer.disconnect() }
}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also we can pass an empty dependency array to useEffect []
/ok-to-test sha=8c75809 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/2349820930. |
/ok-to-test sha=c72b3bb |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/2351230147. |
/ok-to-test sha=c72b3bb |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/2352640718. |
UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/2352640718. Click to view performance test results
|
1 similar comment
UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/2352640718. Click to view performance test results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@vivekverma2312 can someone from qa team pick this up to test? |
Tested on vercel link and found to be fixed. |
When there are widgets on the canvas, on refresh the width of the widget flickers due to a bug in dynamic app layout logic. This PR fixes that
Fixes #12292
Type of chang
How Has This Been Tested?
Checklist:
Test coverage results 🧪
🟢 Total coverage has increased