@kaiheila/ui-components 0.1.36 → 0.1.37
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.
- package/dist/ui-components.js +4 -2
- package/package.json +1 -1
package/dist/ui-components.js
CHANGED
|
@@ -2502,7 +2502,7 @@ if (true) {
|
|
|
2502
2502
|
/* 7 */
|
|
2503
2503
|
/***/ (function(module) {
|
|
2504
2504
|
|
|
2505
|
-
module.exports = JSON.parse("{\"name\":\"@kaiheila/ui-components\",\"version\":\"0.1.
|
|
2505
|
+
module.exports = JSON.parse("{\"name\":\"@kaiheila/ui-components\",\"version\":\"0.1.37\",\"description\":\"开黑啦 UI Components\",\"main\":\"dist/ui-components.js\",\"scripts\":{\"build\":\"webpack\",\"demo\":\"webpack-dev-server --config webpack.config.demo.js\"},\"keywords\":[\"UI\",\"Components\"],\"author\":\"yangchuan\",\"license\":\"ISC\",\"files\":[\"dist\"],\"devDependencies\":{\"@babel/core\":\"^7.15.5\",\"@babel/preset-env\":\"^7.15.6\",\"@babel/preset-react\":\"^7.14.5\",\"@webpack-cli/serve\":\"^1.6.0\",\"babel-loader\":\"^8.2.2\",\"classnames\":\"^2.3.1\",\"css-loader\":\"^2.1.1\",\"html-webpack-plugin\":\"^4.5.2\",\"less\":\"^4.1.2\",\"less-loader\":\"^5.0.0\",\"mini-css-extract-plugin\":\"^0.8.0\",\"prop-types\":\"^15.7.2\",\"react\":\"^18\",\"react-dom\":\"^18\",\"react-tooltip\":\"4.2.21\",\"style-loader\":\"^1.0.0\",\"url-loader\":\"^2.1.0\",\"webpack\":\"^4.40.2\",\"webpack-cli\":\"^3.3.1\",\"webpack-dev-server\":\"^3.2.1\"},\"peerDependencies\":{\"react\":\"^18\",\"react-dom\":\"^18\"},\"browserslist\":{\"production\":[\">0.2%\",\"not dead\",\"not op_mini all\"],\"development\":[\"last 1 chrome version\",\"last 1 firefox version\",\"last 1 safari version\"]}}");
|
|
2506
2506
|
|
|
2507
2507
|
/***/ }),
|
|
2508
2508
|
/* 8 */
|
|
@@ -4927,7 +4927,9 @@ class selector_search_SelectorSearch extends external_react_["Component"] {
|
|
|
4927
4927
|
console.log('this.selectRef.current,', this.selectRef.current);
|
|
4928
4928
|
this.ancestors = getOverflowAncestors(this.selectRef.current);
|
|
4929
4929
|
this.ancestors.forEach(item => {
|
|
4930
|
-
item.addEventListener('scroll', this.calcOptionsStyle
|
|
4930
|
+
item.addEventListener('scroll', this.calcOptionsStyle, {
|
|
4931
|
+
passive: true
|
|
4932
|
+
});
|
|
4931
4933
|
});
|
|
4932
4934
|
}
|
|
4933
4935
|
componentWillUnmount() {
|