fix(web-components): TextArea auto-resize moves instead of grows in Firefox#35849
Open
fix(web-components): TextArea auto-resize moves instead of grows in Firefox#35849
Conversation
…inside root element Co-authored-by: Hotell <1223799+Hotell@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix TextArea AutoResize issue on Firefox
fix(web-components): TextArea auto-resize moves instead of grows in Firefox
Mar 9, 2026
Contributor
|
@copilot type check is failing, make sure |
… null coalescing for autoSizerEl Co-authored-by: Hotell <1223799+Hotell@users.noreply.github.com>
Contributor
Author
Fixed in 934fc85. The issue was |
Contributor
|
@copilot you need to commit that re-generated |
…El property Co-authored-by: Hotell <1223799+Hotell@users.noreply.github.com>
Contributor
Author
|
Pull request demo site: URL |
Contributor
|
@copilot generate change files |
Co-authored-by: Hotell <1223799+Hotell@users.noreply.github.com>
Contributor
Author
Hotell
reviewed
Mar 9, 2026
change/@fluentui-web-components-ecda4f76-81aa-478d-bf2c-cc1f3eeb732c.json
Outdated
Show resolved
Hide resolved
Hotell
reviewed
Mar 9, 2026
change/@fluentui-web-components-ecda4f76-81aa-478d-bf2c-cc1f3eeb732c.json
Outdated
Show resolved
Hide resolved
Copilot stopped work on behalf of
Hotell due to an error
March 9, 2026 14:39
📊 Bundle size report✅ No changes found |
| @@ -0,0 +1,7 @@ | |||
| { | |||
There was a problem hiding this comment.
🕵🏾♀️ visual changes to review in the Visual Change Report
vr-tests-web-components/Badge 1 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-web-components/Badge. - Dark Mode.normal.chromium.png | 443 | Changed |
vr-tests-web-components/MenuList 3 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-web-components/MenuList. - Dark Mode.normal.chromium.png | 498 | Changed |
| vr-tests-web-components/MenuList. - RTL.2nd selected.chromium.png | 17 | Changed |
| vr-tests-web-components/MenuList. - RTL.1st selected.chromium_2.png | 39384 | Changed |
marchbox
approved these changes
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
maybeCreateAutoSizerElmethod to place the auto-sizer div inside.root(the CSS grid container) instead of at the shadow root levelrootElref to the template's.rootdivpublic rootEl!: HTMLDivElementtoBaseTextAreaclassthis.shadowRoot!.prepend(this.autoSizerEl)tothis.rootEl?.prepend(this.autoSizerEl)with explanatory comment.rootwhenfield-sizing: contentis not supported (mocking CSS.supports)node.autoSizerElisHTMLDivElement | undefinedbutcontains()expectsNode | null— usenode.autoSizerEl ?? nulldocs/api-report.mdto include the newrootElpropertydocs/web-components.api.mdvianx run web-components:build(API Extractor runs as part of build)@fluentui/web-componentswith typeprereleasenx run web-components:type-checkpassesOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.