Skip to content

blocked autofocusing on a form control error #10976

@johnleider

Description

@johnleider

Version

2.6.11

Reproduction link

https://codepen.io/johnjleider/pen/oNgoYda

Steps to reproduce

Open devtools and refresh the pen. You will see warning messages in the console: "Blocked autofocusing on a form control in a cross-origin subframe.".

What is expected?

No warnings

What is actually happening?

Warnings about autofocus


This happens on the latest Chrome (79). The only changes I could find that referenced autofocus in Chrome were here.

Since codepen is rendered in an iframe, the error message is slightly different than if you were to run it locally, but the end result is still the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions