Skip to content
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

[form-builder] Block editor: fix focus bug #1412

Merged
merged 1 commit into from
Jul 5, 2019

Conversation

skogsmaskin
Copy link
Member

@skogsmaskin skogsmaskin commented Jul 4, 2019

There is some invalid logic here introduced in aa93a90 that prevents focus to be maintained between toggling fullscreen. This reverts that, and as far as I can tell there is no longer any issues by setting focus when the document is first openend which the invalid logic tried to deal with.

@skogsmaskin skogsmaskin requested a review from rexxars July 4, 2019 14:14
Copy link
Member

@rexxars rexxars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I understand the focus path check, and why it was there/why it was removed. I trust you do, so since the code looks good otherwise: 👍

@skogsmaskin skogsmaskin merged commit 75f32ed into next Jul 5, 2019
@skogsmaskin skogsmaskin deleted the fix-block-editor-focus-bug branch July 5, 2019 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants