@hyphen/hyphen-components 2.9.4 → 2.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1775,7 +1775,7 @@ var DateInput = function DateInput(_ref) {
1775
1775
  * */
1776
1776
  var handleOnClickOutside = function handleOnClickOutside(event) {
1777
1777
  var target = event.target;
1778
- if (target.className.includes('react-datepicker__navigation')) {
1778
+ if (target.classList.contains('react-datepicker__navigation')) {
1779
1779
  return;
1780
1780
  }
1781
1781
  handleTogglePopover(false);