@docsearch/react
Advanced tools
Comparing version 1.0.0-alpha.16 to 1.0.0-alpha.17
@@ -235,4 +235,8 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
return function () { | ||
document.body.classList.remove('DocSearch--active'); | ||
document.body.scrollTop = scrollY.current; | ||
var _window$scrollTo, _window; | ||
document.body.classList.remove('DocSearch--active'); // IE11 doesn't support `scrollTo` so we check that the method exists | ||
// first. | ||
(_window$scrollTo = (_window = window).scrollTo) === null || _window$scrollTo === void 0 ? void 0 : _window$scrollTo.call(_window, 0, scrollY.current); | ||
}; | ||
@@ -239,0 +243,0 @@ }, []); |
@@ -1,1 +0,1 @@ | ||
export var version = '1.0.0-alpha.16'; | ||
export var version = '1.0.0-alpha.17'; |
{ | ||
"name": "@docsearch/react", | ||
"version": "1.0.0-alpha.16", | ||
"version": "1.0.0-alpha.17", | ||
"license": "MIT", | ||
@@ -39,4 +39,4 @@ "homepage": "https://github.com/algolia/autocomplete.js", | ||
"dependencies": { | ||
"@francoischalifour/autocomplete-core": "^1.0.0-alpha.16", | ||
"@francoischalifour/autocomplete-preset-algolia": "^1.0.0-alpha.16", | ||
"@francoischalifour/autocomplete-core": "^1.0.0-alpha.17", | ||
"@francoischalifour/autocomplete-preset-algolia": "^1.0.0-alpha.17", | ||
"algoliasearch": "^4.0.0" | ||
@@ -43,0 +43,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
468685
5334