Skip to content

Revert to the mqeditor toolbar focus hack previously used with WeBWorK and PG 2.16.#685

Merged
pstaabp merged 1 commit into
openwebwork:PG-2.17from
drgrice1:revert-to-mqedit-toolbar-focus-hack
Jul 6, 2022
Merged

Revert to the mqeditor toolbar focus hack previously used with WeBWorK and PG 2.16.#685
pstaabp merged 1 commit into
openwebwork:PG-2.17from
drgrice1:revert-to-mqedit-toolbar-focus-hack

Conversation

@drgrice1

Copy link
Copy Markdown
Member

It seems that Safari does not properly honor the specifications for the FocusEvent.RelatedTarget, and the new method does not work for that lame browser (at least the current version).

…K and PG 2.16.

It seems that Safari does not properly honor the specifications for the FocusEvent.RelatedTarget, and the new method does not work for that lame browser (at least the current version).
@drgrice1

Copy link
Copy Markdown
Member Author

I would prefer that this pull request is not merged. I was happy to get rid of the setTimeout hack.

@pstaabp

pstaabp commented May 27, 2022

Copy link
Copy Markdown
Member

This works for me on the latest Safari. We could merge this in and if Safari is upgraded and the bug fixed, we could revert back to your post-2.16, pre #685 code.

@taniwallach

Copy link
Copy Markdown
Member

I cannot test this - no access to Safari.
However, I think that it is not wise to release 2.17 using an approach known not to work on Safari.
I recommend merging this, and setting up a new PR to change back to the FocusEvent.RelatedTarget based code, pending for when it works in Safari.

@pstaabp pstaabp merged commit 07b38e3 into openwebwork:PG-2.17 Jul 6, 2022
@drgrice1 drgrice1 deleted the revert-to-mqedit-toolbar-focus-hack branch August 4, 2022 13:42
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.

3 participants