blixify-ui-web 0.4.156 → 0.4.157
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/lib/components/data/dataTemplate/index.d.ts.map +1 -1
- package/lib/components/data/dataTemplate/index.js +3 -4
- package/lib/components/data/dataTemplate/index.js.map +1 -1
- package/lib/components/data/updateModule.js +1 -1
- package/lib/components/data/updateModule.js.map +1 -1
- package/lib/components/input/form/index.d.ts.map +1 -1
- package/lib/components/input/form/index.js +3 -0
- package/lib/components/input/form/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAQN,MAAM,OAAO,CAAC;AAuEf,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAoB1B,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAQN,MAAM,OAAO,CAAC;AAuEf,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAoB1B,eAAO,MAAM,YAAY,mFA+2OvB,CAAC"}
|
|
@@ -4214,11 +4214,10 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
4214
4214
|
setTimeout(function () {
|
|
4215
4215
|
var element = document.getElementById(foundId_1);
|
|
4216
4216
|
if (element) {
|
|
4217
|
-
|
|
4218
|
-
var scrollTop = window.pageYOffset + rect.top - window.innerHeight / 2;
|
|
4219
|
-
window.scrollTo({
|
|
4220
|
-
top: scrollTop,
|
|
4217
|
+
element.scrollIntoView({
|
|
4221
4218
|
behavior: "smooth",
|
|
4219
|
+
block: "center",
|
|
4220
|
+
inline: "nearest",
|
|
4222
4221
|
});
|
|
4223
4222
|
}
|
|
4224
4223
|
}, 300);
|