W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

[csswg-drafts] Define a way to have a dialogue anchored to an element (#5304)

From: Greg Whitworth via GitHub <sysbot+gh@w3.org>
Date: Thu, 09 Jul 2020 01:49:12 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-653700991-1594259351-sysbot+gh@w3.org>
gregwhitworth has just created a new issue for https://github.com/w3c/csswg-drafts:

== Define a way to have a dialogue anchored to an element ==
> <dael> TabAtkins: If we ever do want to attach to an element some mech is the thing being used to position non-anchor dialogs. If we switch non-anchor to fixedpos we have to figure out how to do it for non-anchored.

> <dael> iank_: I think a different solution for anchoring down the road

I think we should open a separate issue for this because authors do want this capability outside of the specific `<dialog>` need (eg: tooltips, dropdown menus, etc). So this should be thought about sooner rather than later. In the research that @annevk shared there are many examples that are not centered and are anchored to an element. While I get the implementation concerns I'm also curious of making the dialog itself the scroller via overflow behavior is the right way. Most of the scenarios that come to mind however normally don't fit in what seems to be the primary definition (based on what is shipping) as a `<dialogue>`.

cc: @melanierichards

_Originally posted by @gregwhitworth in https://github.com/w3c/csswg-drafts/issues/4645#issuecomment-655847121_

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5304 using your GitHub account
Received on Thursday, 9 July 2020 01:49:14 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC