- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 19 Oct 2022 21:42:48 +0000
- To: public-css-archive@w3.org
> I think JUST add display:none could be jarring as anchors scroll in and out of the visible content. It could be, or could not be, depending! If your anchors purposely hang out outside of the scroller, tho, you've gotta do *something* when the anchor is out of the viewport. > From an Open UI perspective for popup=hint, it might be better to trigger a hide event when anchors scroll out of the visible content, rather than hiding and reshowing. I haven't dug deeply enough into OpenUI - can you give me a pointer to hide event stuff? > Another thought is that maybe sometimes people will want the anchored element to be clipped by the scroll container rather than hidden? You can achieve this by putting the positioned element in the same scroller as the anchor. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7758#issuecomment-1284604866 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 19 October 2022 21:42:50 UTC