-
Notifications
You must be signed in to change notification settings - Fork 99
DIVE-131 Add Gutenberg support for dynamic fields #717
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎸
@@ -1,5 +1,34 @@ | |||
var fm = {}; | |||
|
|||
/** | |||
* Polyfill Element.matches, if necessary. | |||
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/closest#Polyfill |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link should be https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This specific matches
polyfill was taken from the closest
polyfill page, which is slightly different from the one present on the matches
polyfill page you linked above. I'm only including it because closest
depends on it, so I'm pulling both polyfills from the same location. Good catch, though!
ad1701e
to
9c95ec0
Compare
# Conflicts: # .gitignore # package.json
@kevinfodness Just tested this locally and it works great to fix the autocomplete bug. Any idea if/when this will be merged? |
Closing in favor of #757 |
:visible
.Element.matches
andElement.closest
to efficiently enable the parent check.package.lock
for Node modules.Fixes #713
Fixes #710