5 ms·
Yeah I could have mentioned the actual issues I had. My first attempt was to anchor an element to another one that occurred later in the document order, and it
by danielvaughn 1y ago
Yeah I could have mentioned the actual issues I had.
My first attempt was to anchor an element to another one that occurred later in the document order, and it didn’t work. The anchor must be placed before any of its dependents. It kind of makes sense, but doesn’t jump out as intuitive.
- jaffathecake 1y agoThat document order thing doesn't sound right to me. Here's a demo where the popover appears before the anchor https://codepen.io/jaffathecake/pen/MYargba?editors=1100 https://codepen.io/jaffathecake/pen/MYargba?editors=1100
- danielvaughn 1y agoInteresting! I decided to reproduce the issue I saw, here it is: https://codepen.io/danielvaughn/pen/myepyER?editors=1100 https://codepen.io/danielvaughn/pen/myepyER?editors=1100 Maybe it has to do with multiple anchors? Similar to your earlier comment, I don't know if this is a bug or is me just misunderstanding the spec.