cursor should always be on the top z-index stack #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
All browsers clip a too high value to the max value except firefox <= 3.
Source: https://stackoverflow.com/questions/491052/minimum-and-maximum-value-of-z-index
Number.MAX_SAFE_INTEGERbeing not IE11-compatible, replaced by highest value reported in the link above.(Sorry for not responding earlier—I didn't have notifications turned on for this repository.)
I'm not a fan of adding ridiculously high z-index values. What was the concrete problem that led to this PR?
A very high z-index value in the website stylesheet.
Using the safest highest value seems legit, as the cursor is meant to be on top anyway.
No, I mean, what kind of element was blocking the drop cursor? If something is overlaying the editor, it seems reasonable for that thing to also hide the drop cursor.
I'm using prosemirror in a document body editor - that's why i didn't consider that use case.
The ability to set a class name would also work, so i'll drop this one.
Pull request closed