oolib 2.206.2 → 2.206.4

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.
@@ -50,6 +50,9 @@ var useKeyboardControl = function (_a) {
50
50
  return function () { return window.removeEventListener('keydown', handleKeyDown); };
51
51
  });
52
52
  var scrollFocussedOpIntoView = function (el) {
53
+ // Only scroll if options are actually showing to prevent unwanted auto-scroll
54
+ if (!showOptions)
55
+ return;
53
56
  var _a = el.getBoundingClientRect(), elBottom = _a.bottom, elTop = _a.top;
54
57
  var _b = optionsWrapperRef.current.getBoundingClientRect(), opsWrapperBottom = _b.bottom, opsWrapperTop = _b.top;
55
58
  if (elBottom > opsWrapperBottom) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.206.2",
3
+ "version": "2.206.4",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",