@brightspace-ui/core 3.75.3 → 3.76.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1134,7 +1134,7 @@ export const DropdownContentMixin = superclass => class extends LocalizeCoreElem
1134
1134
  }
1135
1135
  }
1136
1136
  if (this.openedAbove) {
1137
- position.bottom = window.innerHeight - targetRect.top + 8;
1137
+ position.bottom = window.innerHeight - targetRect.top + this._verticalOffset - 8;
1138
1138
  } else {
1139
1139
  position.top = targetRect.top + targetRect.height + this._verticalOffset - 7;
1140
1140
  }
@@ -469,7 +469,7 @@ export const PopoverMixin = superclass => class extends superclass {
469
469
  }
470
470
 
471
471
  if (this._location === 'block-start') {
472
- position.bottom = window.innerHeight - openerRect.top + 8;
472
+ position.bottom = window.innerHeight - openerRect.top + this._offset - 8;
473
473
  } else {
474
474
  position.top = openerRect.top + openerRect.height + this._offset - 7;
475
475
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.75.3",
3
+ "version": "3.76.1",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",
@@ -48,7 +48,7 @@
48
48
  "@brightspace-ui/stylelint-config": "^1",
49
49
  "@brightspace-ui/testing": "^1",
50
50
  "@rollup/plugin-dynamic-import-vars": "^2",
51
- "@rollup/plugin-node-resolve": "^15",
51
+ "@rollup/plugin-node-resolve": "^16",
52
52
  "@rollup/plugin-replace": "^6",
53
53
  "@web/dev-server": "^0.4",
54
54
  "chalk": "^5",