-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fixes #1278 #1291
Fixes #1278 #1291
Conversation
The title |
setTimeout(() => { | ||
setName(''); | ||
setWidth(400); | ||
setHeight(600); | ||
setUserAgent(''); | ||
setType('phone'); | ||
setDpr(1); | ||
}, 500); |
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.
using setTimeout is not a good practice in general, I think that this might be more of a race condition issue. Have you looked at the order of the setStates?
@@ -86,7 +86,7 @@ balanced-match@^1.0.0: | |||
resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" | |||
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== | |||
|
|||
base64id@~2.0.0, [email protected]: | |||
[email protected], base64id@~2.0.0: |
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.
yarn.lock should not be updated
✨ Pull Request
📓 Referenced Issue
Fixes: #1278
ℹ️ About the PR
Added a setTimeout in responsively-app/desktop-app/src/renderer/components/DeviceManager/DeviceDetailsModal.tsx at line number 51
To fix the Custom Device Information Flickering
🖼️ Testing Scenarios / Screenshots
Issue:
Fixes:
Screen.Recording.2024-08-27.171026.mp4