forstok-ui-lib 8.5.7 → 8.5.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forstok-ui-lib",
3
- "version": "8.5.7",
3
+ "version": "8.5.8",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -51,6 +51,7 @@ const DropDownComponent = ({ children, title, subTitle, $externalWidth, $externa
51
51
 
52
52
  const applyDropdownPlacement = (wrapperEl: HTMLElement, placement: 'top' | 'bottom') => {
53
53
  if (placement === 'top') {
54
+ wrapperEl.style.animation = 'none'; // stop CSS animation from overriding top:auto
54
55
  wrapperEl.style.top = 'auto';
55
56
  wrapperEl.style.bottom = `${getOffsetValue($bottom, DEFAULT_BOTTOM_OFFSET)}px`;
56
57
  return;
@@ -69,6 +70,7 @@ const DropDownComponent = ({ children, title, subTitle, $externalWidth, $externa
69
70
  wrapperEl.style.right = '';
70
71
  wrapperEl.style.transform = '';
71
72
  wrapperEl.style.visibility = '';
73
+ wrapperEl.style.animation = '';
72
74
  }
73
75
  };
74
76