News for hackers. Stuff that matters.
Re:The surprisingly difficult problem of user-defined order ... by rubatuga on Friday January 15, 2021 @09:10PM (#25799277)
Then you have projects like bootstrap using z vals of 3000 etc.
Re:The surprisingly difficult problem of user-defined order ... by names_are_hard on Saturday January 16, 2021 @01:24AM (#25800516)
Then someone gets fed up because they just want their item to be on top, dammit, so they can finish their jira task and move on. So they just type 9999 because that ought to beat all those other pesky z-indexes...
Re:The surprisingly difficult problem of user-defined order ... by kflzufkrbzi on Saturday January 16, 2021 @06:20AM (#25801562)
Wrap whatever they provide with position: relative, z-index: 1 and their 3000 index will not go over your 2 index.
Re:The surprisingly difficult problem of user-defined order ... by earthboundkid on Saturday January 16, 2021 @08:56AM (#25802178)
The IAB has standard z-indexes in the millions: https://cravencode.com/post/essentials/iab-z-index-guideline...