W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

Re: [csswg-drafts] [css-positioning] position: popover proposal (#5699)

From: Belan via GitHub <sysbot+gh@w3.org>
Date: Fri, 01 Jan 2021 12:36:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-753311505-1609504613-sysbot+gh@w3.org>
I stumbled over the same problem just now while thinking about converting our angular combobox to a web component.

I think that dropdowns/tooltips and dialogs are different scenarios:

* Dropdowns/tooltips are usually positioned relative to the trigger (like a position relative wrapper around both and position absolute on the dropdown/tooltip).
* Dialogs on the other hand are usually positioned in the middle of the viewport. 

So in my opinion it shouldn't be a new css position value. It would be more flexible for the developer to have a new css property which can be combined with position absolute/fixed. 

About the transform question: At least for dropdown/tooltip implementations it would probably make sense if the transforms are applied.

For my usecase (dropdown of a combobox) it would be best, if it would behave the same as the dropdown of the native `<select>`.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 1 January 2021 12:36:56 UTC

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