@experium/findy-form 1.2.53 → 1.2.56

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.
@@ -230,7 +230,7 @@ var Form = /*#__PURE__*/function (_Component) {
230
230
 
231
231
  if (scrollContainerElement) {
232
232
  scrollContainerElement.scrollTo({
233
- top: invalidField.getBoundingClientRect().top + scrollContainerElement.scrollTop - 15,
233
+ top: invalidField.getBoundingClientRect().top + scrollContainerElement.scrollTop - scrollContainerElement.getBoundingClientRect().top - 15,
234
234
  behavior: 'smooth'
235
235
  });
236
236
  } else {
@@ -1274,6 +1274,17 @@ label.disabled {
1274
1274
  }
1275
1275
  /* imported from rcselect.css */
1276
1276
 
1277
+ .jobot-forms-rc-select {
1278
+ overscroll-behavior: contain;
1279
+ }
1280
+
1281
+ .jobot-forms-rc-select-dropdown, .rc-virtual-list, .rc-virtual-list-holder {
1282
+ -ms-scroll-chaining: none;
1283
+ -webkit-overflow-scrolling: none;
1284
+ overscroll-behavior: none;
1285
+ overflow-anchor: none;
1286
+ }
1287
+
1277
1288
  .jobot-forms-rc-select-selector {
1278
1289
  background-color: #fff;
1279
1290
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experium/findy-form",
3
- "version": "1.2.53",
3
+ "version": "1.2.56",
4
4
  "main": "./lib/index.js",
5
5
  "homepage": "https://experium.github.io/findy-form",
6
6
  "repository": "https://github.com/experium/findy-form",
@@ -172,7 +172,7 @@ class Form extends Component {
172
172
 
173
173
  if (scrollContainerElement) {
174
174
  scrollContainerElement.scrollTo({
175
- top: invalidField.getBoundingClientRect().top + scrollContainerElement.scrollTop - 15,
175
+ top: invalidField.getBoundingClientRect().top + scrollContainerElement.scrollTop - scrollContainerElement.getBoundingClientRect().top - 15,
176
176
  behavior: 'smooth'
177
177
  });
178
178
  } else {
@@ -1,3 +1,14 @@
1
+ .jobot-forms-rc-select {
2
+ overscroll-behavior: contain;
3
+ }
4
+
5
+ .jobot-forms-rc-select-dropdown, .rc-virtual-list, .rc-virtual-list-holder {
6
+ -ms-scroll-chaining: none;
7
+ -webkit-overflow-scrolling: none;
8
+ overscroll-behavior: none;
9
+ overflow-anchor: none;
10
+ }
11
+
1
12
  .jobot-forms-rc-select-selector {
2
13
  background-color: #fff;
3
14
  }