DEPRECATED use https://github.com/component/closest