Allow disabling transform for positioning#27929
Conversation
...onents/react-components/stories/Concepts/Positioning/PositioningDisableTransform.stories.tsx
Outdated
Show resolved
Hide resolved
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 52626f4:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: c8bcfef7d957b2e251875c216aabac3ece374034 (build) |
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| FluentProviderWithTheme | virtual-rerender | 66 | 56 | 10 | Possible regression |
All results
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 551 | 564 | 5000 | |
| Button | mount | 284 | 278 | 5000 | |
| Field | mount | 1008 | 989 | 5000 | |
| FluentProvider | mount | 637 | 615 | 5000 | |
| FluentProviderWithTheme | mount | 80 | 77 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 66 | 56 | 10 | Possible regression |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 66 | 67 | 10 | |
| InfoButton | mount | 17 | 9 | 5000 | |
| MakeStyles | mount | 856 | 1008 | 50000 | |
| Persona | mount | 1567 | 1494 | 5000 | |
| SpinButton | mount | 1246 | 1220 | 5000 |
|
@ling1726 can you please review this PR? 🙏 |
apps/vr-tests-react-components/src/stories/Positioning.stories.tsx
Outdated
Show resolved
Hide resolved
apps/vr-tests-react-components/src/stories/Positioning.stories.tsx
Outdated
Show resolved
Hide resolved
...onents/react-components/stories/Concepts/Positioning/PositioningDisableTransform.stories.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-popover/src/components/Popover/Popover.cy.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-positioning/src/utils/writeContainerupdates.ts
Outdated
Show resolved
Hide resolved
|
@flora8984461 are you ready to publish this PR? |
…ransform-popover
|
/azp run |
|
Azure Pipelines successfully started running 4 pipeline(s). |
|
Thank you! @ling1726 I published it. I have a question regarding vr test. It says you are using Screener, but in the code in I wanted to run it locally, I did
I am also interested in using StoryWright for our project, would really appreciate your thoughts about this tool😊. And I can't find it in PlayWright's doc page. 😅 |
@flora8984461 yeah we moved away from screener recently so the documentation is out of date. However your new screenshots can be viewed in the PR here #27929 (comment) Normally the local test should run but I would say that I haven't used it in a while so am not sure about the errors |
|
/azp run |
|
Azure Pipelines successfully started running 4 pipeline(s). |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |



Previous Behavior
When using absolute position for components that use "positioning", the
transformproperty is being added automatically and there is no way to disable it.New Behavior
When using absolute position for components that use "positioning", the
transformproperty can be disabled bypositioning={{ useTransform: false }}. By default, this value is set to true to keep the current default behavior.This is applicable to react-tooltip, react-popover, react-combobox, react-menu, react-datepicker-compact, react-infobutton
Related Issue(s)