Skip to content
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

Invisible in web assembly #235

Open
Moisha opened this issue Nov 7, 2023 · 1 comment
Open

Invisible in web assembly #235

Moisha opened this issue Nov 7, 2023 · 1 comment
Labels
bug Something isn't working more-info-needed

Comments

@Moisha
Copy link

Moisha commented Nov 7, 2023

TreeDataGrid works well in desktop version but invisible in browser. And make other controls invisible.
Tried on Windows and Ubuntu, result is the same.
For example this view

<TreeDataGrid Name="treeGrid" Source="{Binding Source}" HorizontalAlignment="Center" VerticalAlignment="Center" Width = "300" Height="300" />

and this view

<StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<TreeView Name="tree" ItemsSource="{Binding Items}" HorizontalAlignment="Left" VerticalAlignment="Stretch" Width = "300" />
<TreeDataGrid Name="treeGrid" Source="{Binding Source}" HorizontalAlignment="Left" VerticalAlignment="Stretch" Width = "300" />
</StackPanel>

are totally invisible in browser. Changing places TreeView and TreeDataGrid has no effect.

Removing TreeDataGrid from second view immediately reveals TreeView.

@maxkatz6 maxkatz6 added the bug Something isn't working label Nov 7, 2023
@Numpsy
Copy link

Numpsy commented Apr 4, 2024

fwiw, I've had it working in WASM before with Avalonia 11.0, and just tried it with the latest Avalonia 11.1 nightly and it seems ok (only a simple setup with a HierarchicalTreeDataGridSource but still)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working more-info-needed
Projects
None yet
Development

No branches or pull requests

3 participants