-
Notifications
You must be signed in to change notification settings - Fork 779
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(isVisibleOnScreen): account for position: absolute elements insid…
…e overflow container (#4405) Also tested various ways to try to get the `position: absolute` to be hidden by the node. Turns out there are a few cases where it will be hidden: * overflow node uses position itself other than static * node in-between the overflow node and the positioned child uses position `relative` or `sticky` and cases where it won't be hidden * positioned child uses a position of `fixed` (it won't be hidden by any ancestor overflow, even if the ancestor uses position itself) Closes: #4016
- Loading branch information
Showing
2 changed files
with
128 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters