We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08135fe commit 8215352Copy full SHA for 8215352
1 file changed
live-view/live-view.js
@@ -177,13 +177,17 @@ async function setupLiveView() {
177
178
// don't transition live view
179
liveView.classList.add('notransition');
180
-
181
- // hide live view
182
- liveView.classList.remove('visible');
183
184
- // restore transition on next frame
+
185
onNextFrame(() => {
186
- liveView.classList.remove('notransition');
+ // hide live view
+ liveView.classList.remove('visible');
+ // restore transition on next frame
187
+ onNextFrame(() => {
188
+ liveView.classList.remove('notransition');
189
+ });
190
191
});
192
193
}
0 commit comments