react-dialogger 1.1.18 → 1.1.19
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/components/DialogBase.js +10 -10
- package/package.json +1 -1
package/components/DialogBase.js
CHANGED
@@ -674,17 +674,17 @@ var DialogBase = /** @class */ (function (_super) {
|
|
674
674
|
this._dialogRef.current.focus();
|
675
675
|
if (this._Resizeable) {
|
676
676
|
this._Resizeable.setContainer(this._dialogRef.current);
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
});
|
677
|
+
this._Resizeable.onResizeListener(function (width, height) {
|
678
|
+
if (typeof _this.props.resizeListener === "function") {
|
679
|
+
_this._resizeListenersStore.push(_this.props.resizeListener);
|
680
|
+
}
|
681
|
+
// this.props.resizeListener({width, height}, this);
|
682
|
+
// Butun eklenmis Resize collbackler ayni anda maplenerek cevap veriliyor
|
683
|
+
_this._resizeListenersStore.map(function (itemCallback) {
|
684
|
+
// @ts-ignore
|
685
|
+
itemCallback({ width: width, height: height }, _this);
|
686
686
|
});
|
687
|
-
}
|
687
|
+
});
|
688
688
|
}
|
689
689
|
}
|
690
690
|
// Initialize SlotsProps
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-dialogger",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.19",
|
4
4
|
"description": "This package is a continuation of the react-araci package. Due to an error, react-araci was removed, and it has been decided to continue under the new package name react-dialogger",
|
5
5
|
"main": "index.js",
|
6
6
|
"author": "Sueleyman Topaloglu",
|