@brightspace-ui/core 2.132.5 → 2.133.0
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.
|
@@ -201,11 +201,13 @@ class MoreLess extends LocalizeCoreElement(LitElement) {
|
|
|
201
201
|
__adjustToContent_makeInactive() {
|
|
202
202
|
this.inactive = true;
|
|
203
203
|
this.expanded = false;
|
|
204
|
-
|
|
204
|
+
// Include 1px of given room to account for issues with Firefox rounding the content's scroll height
|
|
205
|
+
this.__maxHeight = `${this.__content.scrollHeight + 1}px`;
|
|
205
206
|
}
|
|
206
207
|
|
|
207
208
|
__adjustToContent_resize(contentHeight) {
|
|
208
|
-
|
|
209
|
+
// Include 1px of given room to account for issues with Firefox rounding the content's scroll height
|
|
210
|
+
this.__maxHeight = `${contentHeight + 1}px`;
|
|
209
211
|
}
|
|
210
212
|
|
|
211
213
|
__computeAriaExpanded() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.133.0",
|
|
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",
|