Skip to content

Commit 93ce319

Browse files
committed
fix(popover): fix popper warning on margin style from visually-hidden
1 parent 2ba0894 commit 93ce319

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- `Popover` & `Tooltip`: fix popper warning on margin style applied by class `.visually-hidden`.
13+
1014
## [3.15.0][] - 2025-07-02
1115

1216
### Fixed

packages/lumx-core/src/scss/core/base/_helpers.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,8 @@
3333
clip: rect(0 0 0 0) !important;
3434
border: 0 !important;
3535
}
36+
37+
/** Need to remove the margin style on popper elements or else we get warnings in the console */
38+
.lumx-popover.visually-hidden, .lumx-tooltip.visually-hidden {
39+
margin: revert !important;
40+
}

0 commit comments

Comments
 (0)