Menu icon Foundation
Reveal Animation Undefined Error

I've noticed that I'm getting an undefined error when using data-animation on reveal modal windows. Without data-animation no error in thrown. Below is the code and error:

Reveal button trigger:

Error:
TypeError: undefined is not an object (evaluating 'e.find')
findFocusablefoundation.util.keyboard.js:27
(anonymous function)foundation.dropdownMenu.js:1
rfoundation.util.motion.js:18
djquery.js:1276
dispatchjquery.js:784
handlejquery.js:424

revealundefined error

I've noticed that I'm getting an undefined error when using data-animation on reveal modal windows. Without data-animation no error in thrown. Below is the code and error:

Reveal button trigger:

Error:
TypeError: undefined is not an object (evaluating 'e.find')
findFocusablefoundation.util.keyboard.js:27
(anonymous function)foundation.dropdownMenu.js:1
rfoundation.util.motion.js:18
djquery.js:1276
dispatchjquery.js:784
handlejquery.js:424