uno.extensions icon indicating copy to clipboard operation
uno.extensions copied to clipboard

fix: Prevent FrameView DataContext propagation

Open eriklimakc opened this issue 7 months ago • 0 comments

GitHub Issue (If applicable): closes #

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

FrameView would inherit DataContext from parents and propagate it to child pages.

What is the new behavior?

Set FrameView.DataContext to null to avoid DataContext inheritance and propagation.

PR Checklist

Please check if your PR fulfills the following requirements:

  • [X] Tested code with current supported SDKs
  • [ ] Docs have been added/updated which fit documentation template. (for bug fixes / features)
  • [ ] Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
  • [ ] Wasm UI Tests are not showing unexpected any differences. Validate PR Screenshots Compare Test Run results.
  • [X] Contains NO breaking changes
  • [ ] Updated the Release Notes
  • [ ] Associated with an issue (GitHub or internal)

Other information

Internal Issue (If applicable):

eriklimakc avatar Jul 22 '24 14:07 eriklimakc