Open johannes-z opened 2 years ago
When using a ref on a Vue component, useOnOutsidePress throws an error, because the Vue component doesn't have a method called contains. The function should check if element.value.$el exists.
ref
contains
element.value.$el
When using a
ref
on a Vue component, useOnOutsidePress throws an error, because the Vue component doesn't have a method calledcontains
. The function should check ifelement.value.$el
exists.