Skip to content

Instantly share code, notes, and snippets.

@ralfting
Created September 5, 2019 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ralfting/443b5356ff4f91f2925810c8d86718f3 to your computer and use it in GitHub Desktop.
Save ralfting/443b5356ff4f91f2925810c8d86718f3 to your computer and use it in GitHub Desktop.
const renderMap = {
DueDateField: (component) => withClickOutside(component, function(event) {
return !event.target.closest('.tether-element');
}),
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment