Hi,
After updating to PRO version 3 I started to get overlapping issues between elements, like the following one:
The problem comes from the addition of the z-index:2
CSS rule to the x-anchor-content
class that was made in PRO Version 3, in /pro/framework/dist/css/site/stacks/icon.css:
.x-anchor-content {
overflow: hidden;
display: flex;
flex: 1 0 auto;
position: relative;
z-index: 2;
border-radius: inherit;
transform: translate3d(0, 0, 0)
}
In other versions prior to PRO version 3 the z-index:2
rule was not present for the x-anchor-content
class.
Please, take into account that:
-
I have never experienced this issue until PRO version 3, at least not for the past 2 years.
-
The HTML code of the element that overlaps (remains above) –in the aforementioned example, the phone number– goes before the code of the overlapped element –in our example, the site search field–. Because of that if
z-index
was unset for thex-anchor-content
class –as it used to be before PRO version 3– we would not be getting the overlapping issue:
Thanks!