You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The adder appears but is not fully visible and does nothing when clicked:
Notes:
The <hypothesis-adder> element is given a z-index of 1. The document's main <article> however has a z-index of 2, so it gets rendered above the adder. Manually increasing the z-index of the <hypothesis-adder> makes it fully visible and interactive.
We have logic (Adder._findZIndex) to find the z-index of the content underneath the adder and choose a higher value. However it looks like it fails to take into account the z-index of ancestor elements of the points used to compute the index.
Originally reported in Slack
Steps to reproduce:
Result:
The adder appears but is not fully visible and does nothing when clicked:
Notes:
The
<hypothesis-adder>
element is given a z-index of 1. The document's main<article>
however has a z-index of 2, so it gets rendered above the adder. Manually increasing the z-index of the<hypothesis-adder>
makes it fully visible and interactive.We have logic (
Adder._findZIndex
) to find the z-index of the content underneath the adder and choose a higher value. However it looks like it fails to take into account the z-index of ancestor elements of the points used to compute the index.Related issues: #5622
The text was updated successfully, but these errors were encountered: