Re: [csswg-drafts] [css-anchor-position-1] Last @try to display none? (#9380)

The example I was thinking of is positioning help text next to a input field which provides some optional information about the text field. Depending on window size, scroller positions, other content, font size, etc, etc, I may want to try a few locations and if none of them work, just don't display the optional information. The problem with simply clipping is that it may be a worse experience if there is no way to expand the displayed area to reveal the full tooltip.

In either case, I'm sure there are other ways to solve this problem in UX land, like having smaller tooltips or not clipping them. I would just find it surprising that, as an author, I don't have a way of hiding the anchored element. I imagine, in the cases where this is desired, my last try block would then be some artificially far away spot to "hide" it.


-- 
GitHub Notification of comment by vmpstr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9380#issuecomment-1936589726 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 9 February 2024 20:54:53 UTC