You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably related to #161.
I suppose the intent of #161 is to consider pointerdown event as a human operation. However, events that occur inside iframe cannot be handled from outside iframe.
Describe the problem
Cannot focus on
input
element insideiframe
when the editor has focus.focus_issue_480p.mov
This is probably related to #161.
I suppose the intent of #161 is to consider
pointerdown
event as a human operation. However, events that occur insideiframe
cannot be handled from outsideiframe
.learn.svelte.dev/src/routes/tutorial/[slug]/Editor.svelte
Lines 243 to 249 in 8d0376c
learn.svelte.dev/src/routes/tutorial/[slug]/Editor.svelte
Lines 266 to 272 in 8d0376c
Describe the proposed solution
when
body
element insideiframe
gets focus, set focus on the editor. (usingpostMessage
)https://github.com/tomoam/learn.svelte.dev/blob/e291cb8c0d08f011d358427f7990fe7f2e6257d3/content/tutorial/common/src/__client.js#L93-L106
https://github.com/tomoam/learn.svelte.dev/blob/e291cb8c0d08f011d358427f7990fe7f2e6257d3/src/routes/tutorial/%5Bslug%5D/Editor.svelte#L236-L242
The text was updated successfully, but these errors were encountered: