CommunityToolkit / CommunityToolkit/Graph-Controls

GraphPresenter doesn't work in a UWP app inside a Uno project

Đang mở
#61 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Area: Controls bug :bug: Controls: GraphPresenter question :grey_question:
Ngôn ngữ chính
C#
Star
156
Fork
38
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Describe the bug
The GraphPresenter control works fine when it's executed in a standalone UWP app, but it doesn't render when the same UWP app is part of an Uno-based solution.

- [ ] Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:

## Steps to Reproduce
Steps to reproduce the behavior:
1. Create a new Uno solution
2. Add the Microsoft.Toolkit.Graph.Controls NuGet to the UWP project
3. Add the following XAML to the MainPage.xaml file in the shared project:

```























<Setter Property="Margin" Value="0,8,0,8"/>







```
4. Run the UWP app

## Expected behavior
A list of mail, presented through the GraphPresenter control, is displayed in the main page. The control, instead, is empty.
The same exact XAML code in a standalone UWP app (not part of an Uno solution) works fine.

## Screenshots
This is the output of the UWP app included in the Uno solution:

![image](https://user-images.githubusercontent.com/1230332/98152196-9b73fc80-1ed1-11eb-92b0-558cf1d5307c.png)

This is the output, instead, of a standalone UWP app:

![image](https://user-images.githubusercontent.com/1230332/98152254-b5adda80-1ed1-11eb-990f-09584429a1c8.png)

## Environment

```
NuGet Package(s): Microsoft.Toolkit.Graph.Controls

Package Version(s): 7.0.0-preview2

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] October 2020 Update (19042)
- [ ] Insider Build (build number: )

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] October 2020 Update (19042)
- [ ] Insider Build (xxxxx)

Device form factor:
- [x] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio
- [ ] 2017 (version: )
- [x] 2019 (version: 16.7.7 )
- [ ] 2019 Preview (version: )

```

## Additional context
Add any other context about the problem here.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.