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
{{ message }}
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.
The draft controls were only working for my client in IE and Safari, not in Firefox. When he was clicking on the box to expose the controls, he was getting this error:
this.element.up(".active") is undefined
It looks like the following behavior instruction in concurrent_draft.js was being ignored by Firefox:
'#draft-controls': Draft.ControlBox
Firefox was dropping through and firing a click event on this instead:
Thought I'd share it here. I'd love to know a more elegant way to solve this. Clearly, the problem is with Firefox, but it would be nice for the code to work across all three browsers.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The draft controls were only working for my client in IE and Safari, not in Firefox. When he was clicking on the box to expose the controls, he was getting this error:
It looks like the following behavior instruction in concurrent_draft.js was being ignored by Firefox:
Firefox was dropping through and firing a click event on this instead:
I spent an hour trying to figure out why this was happening, but eventually was forced to give up and hack in a solution:
Thought I'd share it here. I'd love to know a more elegant way to solve this. Clearly, the problem is with Firefox, but it would be nice for the code to work across all three browsers.
The text was updated successfully, but these errors were encountered: