New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: Custom boundary for autoSize in Popper #25264
Comments
We should test and eventually fix in v9 first, only after that decide what to do next. |
Agree, let's solve this in v9, then backport to v0 based on customer need / cost tradeoff. I assume @microsoft/teams-prg is taking point given the assignment in board, correct if wrong. CC: @smhigley and @microsoft/cxe-coastal |
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
Library
React Northstar / v0 (@fluentui/react-northstar)
Describe the feature that you would like added
autoSize
prop in Popper settings currently usesoverflowBoundary
. Add configuration option for theautoSize
to use a separate boundary.That feature is required for a
Dropdown
component scenario.Codesandbox with repro: https://codesandbox.io/s/v0-dropdown-overflow-vj5xzf?file=/example.js
The
Dropdown
list in the example has the following options applied:positionFixed: true
to allow the dropdown list to overflow the message it is rendered inautoSize: "width-always"
to fix the width of the list to match the dropdown input (required whenfluid
andpositionFixed
are used at the same time)overflowBoundary
andflipBoundary
set to the scroll container to correctly flip the dropdown listunstable_disableTether: "all"
to allow the dropdown list to cover the input if there is not enough spaceWith this config the
autoSize
uses theoverflowBoundary
to set the dropdown list width which is incorrect:Have you discussed this feature with our team
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: