@true-engineering/true-react-common-ui-kit 3.44.0 → 3.44.1

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": "@true-engineering/true-react-common-ui-kit",
3
- "version": "3.44.0",
3
+ "version": "3.44.1",
4
4
  "description": "True Engineering React UI Kit with theming support",
5
5
  "author": "True Engineering (https://trueengineering.ru)",
6
6
  "keywords": [
@@ -182,7 +182,7 @@ export const WithPopup: FC<IWithPopupProps> = ({
182
182
  )}
183
183
  {isMounted && (
184
184
  <FloatingPortal
185
- root={!shouldRenderInBody ? (refs.reference.current as HTMLElement) : undefined}
185
+ root={shouldRenderInBody ? document.body : (refs.reference.current as HTMLElement)}
186
186
  >
187
187
  <div
188
188
  ref={refs.setFloating}